import {
    FontFamilyMapping,
    FontWeightMapping,
    FontStyleMapping,
    ChartsLineTypeMapping,
    ChartsAxisTitlePositionMapping,
    ChartsAxisTickDirection,
    ChartsAxisLabelAlign,
    ChartsLengthFlexDirection,
    ChartsLengthFlexItem,
    ChartsLabelTypeMapping,
    ChartsLabelPosMapping,
    ChartsHeatmapWeekMapping,
    GaugeTextMapping,
    TooltipMapping,
    IsEnabledMapping,


    VChartsA01TypeMapping,
    VChartsA02TypeMapping,
    VChartsA03TypeMapping,
    VChartsA01DirectionMapping,
    VchartsTextAlignMapping,
    VchartsTextAlign2Mapping,
    VchartsTextBaselineMapping,
    VchartsAxesOrientMapping,
    VchartsAxesOrientMapping2,
    VchartsAxesTypeMapping,
    VchartsLegendsPositionMapping,
    VchartsLegendsSelectModeMapping,
    VchartsLegendsItemAlignMapping,
    VchartsLabelPositionMapping,
    VchartsTriggerMapping,
    VchartsTooltipPositionMapping,
    VchartsTooltipPositionModeMapping,
    VchartsCrosshairTypeMapping,
    VchartsLineCurveTypeMapping,
    VchartsPointCurveTypeMapping,
    VchartsMarkLineAexsMapping,
    VchartsMarkLinePositionMapping1,
    VchartsMarkPointLineTypeMapping,
    VchartsMarkPointLineContentPositionMapping,
    VchartsPieLabelPositionMapping,
    VchartsPieLabelLayoutAlignMapping,

    VchartsIndicatorFixedMapping,
    VchartsIndicatorTriggerMapping,
    VchartsGaugeTypeMapping,
    VchartsProgressTypeMapping,
    VchartsLiquidMaskShapeMapping

} from '../../Config/config'

const ChartsFileMapping = {
    XStyleTitle: {
        title: 'X轴标题',
        dataIndex: 'XStyleTitle',
        valueType: 'Collapse',
        children: [
            { title: '(X轴) 标题 - 内容', dataIndex: 'Xtitle', valueType: 'Input' },
            { title: '(X轴) 标题 - 位置', dataIndex: 'XtitlePosition', valueType: 'Select', valueEnum: ChartsAxisTitlePositionMapping },
            { title: '(X轴) 标题 - 字号', dataIndex: 'XtitleFontSize', valueType: 'InputNumber' },
            { title: '(X轴) 标题 - 字体', dataIndex: 'XtitleFontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
            { title: '(X轴) 标题 - 加粗', dataIndex: 'XtitleFontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
        ]
    },
    XStyleLine: {
        title: 'X轴轴线',
        dataIndex: 'XStyleLine',
        valueType: 'Collapse',
        children: [
            { title: '(X轴) 轴线 - 状态', dataIndex: 'Xline', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '(X轴) 轴线 - 宽度', dataIndex: 'XlineLineWidth', valueType: 'InputNumber' },
            { title: '(X轴) 轴线 - 虚线(分段长度)', dataIndex: 'XlineLineDashA', valueType: 'InputNumber' },
            { title: '(X轴) 轴线 - 虚线(间距长度)', dataIndex: 'XlineLineDashB', valueType: 'InputNumber' },
            { title: '(X轴) 轴线 - 颜色', dataIndex: 'XlineStroke', valueType: 'ColorPicker' },
            { title: '(X轴) 轴线 - 透明度', dataIndex: 'XlineStrokeOpacity', valueType: 'InputNumber' },
        ]
    },
    XStyleTick: {
        title: 'X轴刻度',
        dataIndex: 'XStyleTick',
        valueType: 'Collapse',
        children: [
            { title: '(X轴) 刻度 - 状态', dataIndex: 'Xtick', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '(X轴) 刻度 - 朝向', dataIndex: 'XtickDirection', valueType: 'Select', valueEnum: ChartsAxisTickDirection },
            { title: '(X轴) 刻度 - 长度', dataIndex: 'XtickLength', valueType: 'InputNumber' },
            { title: '(X轴) 刻度 - 宽度', dataIndex: 'XtickLineWidth', valueType: 'InputNumber' },
            { title: '(X轴) 刻度 - 虚线(分段长度)', dataIndex: 'XtickLineDashA', valueType: 'InputNumber' },
            { title: '(X轴) 刻度 - 虚线(间距长度)', dataIndex: 'XtickLineDashB', valueType: 'InputNumber' },
            { title: '(X轴) 刻度 - 颜色', dataIndex: 'XtickStroke', valueType: 'ColorPicker' },
            { title: '(X轴) 刻度 - 透明度', dataIndex: 'XtickStrokeOpacity', valueType: 'InputNumber' },
        ]
    },
    XStyleLabel: {
        title: 'X轴刻度值',
        dataIndex: 'XStyleLabel',
        valueType: 'Collapse',
        children: [
            { title: '(X轴) 刻度值 - 状态', dataIndex: 'Xlabel', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '(X轴) 刻度值 - 对齐方式', dataIndex: 'XlabelAlign', valueType: 'Select', valueEnum: ChartsAxisLabelAlign },
            { title: '(X轴) 刻度值 - 轴线位置', dataIndex: 'XlabelDirection', valueType: 'Select', valueEnum: ChartsAxisTickDirection },
            { title: '(X轴) 刻度值 - 刻度间距', dataIndex: 'XlabelSpacing', valueType: 'InputNumber' },
            { title: '(X轴) 刻度值 - 字号', dataIndex: 'XlabelFontSize', valueType: 'InputNumber' },
            { title: '(X轴) 刻度值 - 字体', dataIndex: 'XlabelFontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
            { title: '(X轴) 刻度值 - 加粗', dataIndex: 'XlabelFontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
            { title: '(X轴) 刻度值 - 字色', dataIndex: 'XlabelFill', valueType: 'ColorPicker' },
            { title: '(X轴) 刻度值 - 透明度', dataIndex: 'XlabelFillOpacity', valueType: 'InputNumber' },
        ]
    },
    XStyleGrid: {
        title: 'X轴网格线',
        dataIndex: 'XStyleGrid',
        valueType: 'Collapse',
        children: [
            { title: '(X轴) 网格线 - 状态', dataIndex: 'Xgrid', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '(X轴) 网格线 - 区域颜色', dataIndex: 'XgridAreaFill', valueType: 'ColorPicker' },
            { title: '(X轴) 网格线 - 宽度', dataIndex: 'XgridLineWidth', valueType: 'InputNumber' },
            { title: '(X轴) 网格线 - 虚线(分段长度)', dataIndex: 'XgridLineDashA', valueType: 'InputNumber' },
            { title: '(X轴) 网格线 - 虚线(间距长度)', dataIndex: 'XgridLineDashB', valueType: 'InputNumber' },
            { title: '(X轴) 网格线 - 颜色', dataIndex: 'XgridStroke', valueType: 'ColorPicker' },
            { title: '(X轴) 网格线 - 透明度', dataIndex: 'XgridStrokeOpacity', valueType: 'InputNumber' },
        ]
    },
    YStyleTitle: {
        title: 'Y轴标题',
        dataIndex: 'YStyleTitle',
        valueType: 'Collapse',
        children: [
            { title: '(Y轴) 标题 - 内容', dataIndex: 'Ytitle', valueType: 'Input' },
            { title: '(Y轴) 标题 - 位置', dataIndex: 'YtitlePosition', valueType: 'Select', valueEnum: ChartsAxisTitlePositionMapping },
            { title: '(Y轴) 标题 - 字号', dataIndex: 'YtitleFontSize', valueType: 'InputNumber' },
            { title: '(Y轴) 标题 - 字体', dataIndex: 'YtitleFontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
            { title: '(Y轴) 标题 - 加粗', dataIndex: 'YtitleFontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
        ]
    },
    YStyleLine: {
        title: 'Y轴轴线',
        dataIndex: 'YStyleLine',
        valueType: 'Collapse',
        children: [
            { title: '(Y轴) 轴线 - 状态', dataIndex: 'Yline', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '(Y轴) 轴线 - 宽度', dataIndex: 'YlineLineWidth', valueType: 'InputNumber' },
            { title: '(Y轴) 轴线 - 虚线(分段长度)', dataIndex: 'YlineLineDashA', valueType: 'InputNumber' },
            { title: '(Y轴) 轴线 - 虚线(间距长度)', dataIndex: 'YlineLineDashB', valueType: 'InputNumber' },
            { title: '(Y轴) 轴线 - 颜色', dataIndex: 'YlineStroke', valueType: 'ColorPicker' },
            { title: '(Y轴) 轴线 - 透明度', dataIndex: 'YlineStrokeOpacity', valueType: 'InputNumber' },
        ]
    },
    YStyleTick: {
        title: 'Y轴刻度',
        dataIndex: 'YStyleTick',
        valueType: 'Collapse',
        children: [
            { title: '(Y轴) 刻度 - 状态', dataIndex: 'Ytick', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '(Y轴) 刻度 - 朝向', dataIndex: 'YtickDirection', valueType: 'Select', valueEnum: ChartsAxisTickDirection },
            { title: '(Y轴) 刻度 - 长度', dataIndex: 'YtickLength', valueType: 'InputNumber' },
            { title: '(Y轴) 刻度 - 宽度', dataIndex: 'YtickLineWidth', valueType: 'InputNumber' },
            { title: '(Y轴) 刻度 - 虚线(分段长度)', dataIndex: 'YtickLineDashA', valueType: 'InputNumber' },
            { title: '(Y轴) 刻度 - 虚线(间距长度)', dataIndex: 'YtickLineDashB', valueType: 'InputNumber' },
            { title: '(Y轴) 刻度 - 颜色', dataIndex: 'YtickStroke', valueType: 'ColorPicker' },
            { title: '(Y轴) 刻度 - 透明度', dataIndex: 'YtickStrokeOpacity', valueType: 'InputNumber' },
        ]
    },
    YStyleLabel: {
        title: 'Y轴刻度值',
        dataIndex: 'YStyleLabel',
        valueType: 'Collapse',
        children: [
            { title: '(Y轴) 刻度值 - 状态', dataIndex: 'Ylabel', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '(Y轴) 刻度值 - 对齐方式', dataIndex: 'YlabelAlign', valueType: 'Select', valueEnum: ChartsAxisLabelAlign },
            { title: '(Y轴) 刻度值 - 轴线位置', dataIndex: 'YlabelDirection', valueType: 'Select', valueEnum: ChartsAxisTickDirection },
            { title: '(Y轴) 刻度值 - 刻度间距', dataIndex: 'YlabelSpacing', valueType: 'InputNumber' },
            { title: '(Y轴) 刻度值 - 字号', dataIndex: 'YlabelFontSize', valueType: 'InputNumber' },
            { title: '(Y轴) 刻度值 - 字体', dataIndex: 'YlabelFontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
            { title: '(Y轴) 刻度值 - 加粗', dataIndex: 'YlabelFontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
            { title: '(Y轴) 刻度值 - 字色', dataIndex: 'YlabelFill', valueType: 'ColorPicker' },
            { title: '(Y轴) 刻度值 - 透明度', dataIndex: 'YlabelFillOpacity', valueType: 'InputNumber' },
        ]
    },
    YStyleGrid: {
        title: 'Y轴网格线',
        dataIndex: 'YStyleGrid',
        valueType: 'Collapse',
        children: [
            { title: '(Y轴) 网格线 - 状态', dataIndex: 'Ygrid', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '(Y轴) 网格线 - 区域颜色', dataIndex: 'YgridAreaFill', valueType: 'ColorPicker' },
            { title: '(Y轴) 网格线 - 宽度', dataIndex: 'YgridLineWidth', valueType: 'InputNumber' },
            { title: '(Y轴) 网格线 - 虚线(分段长度)', dataIndex: 'YgridLineDashA', valueType: 'InputNumber' },
            { title: '(Y轴) 网格线 - 虚线(间距长度)', dataIndex: 'YgridLineDashB', valueType: 'InputNumber' },
            { title: '(Y轴) 网格线 - 颜色', dataIndex: 'YgridStroke', valueType: 'ColorPicker' },
            { title: '(Y轴) 网格线 - 透明度', dataIndex: 'YgridStrokeOpacity', valueType: 'InputNumber' },
        ]
    },
    LegendStatus: {
        title: '图例状态',
        dataIndex: 'LegendStatus',
        valueType: 'Collapse',
        children: [
            { title: '图例状态 - 状态', dataIndex: 'legendStatus', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '图例布局 - 主轴方向', dataIndex: 'flexDirection', valueType: 'Radio', valueEnum: ChartsLengthFlexDirection },
            { title: '图例布局 - 横向对齐', dataIndex: 'justifyContent', valueType: 'Radio', valueEnum: ChartsLengthFlexItem },
            { title: '图例布局 - 纵向对齐', dataIndex: 'alignItems', valueType: 'Radio', valueEnum: ChartsLengthFlexItem },
        ]
    },
    LegendStyle: {
        title: '图例样式',
        dataIndex: 'LegendStyle',
        valueType: 'Collapse',
        children: [
            { title: '图例样式 - 文字大小', dataIndex: 'itemLabelFontSize', valueType: 'InputNumber' },
            { title: '图例样式 - 文字字体', dataIndex: 'itemLabelFontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
            { title: '图例样式 - 字体粗细', dataIndex: 'itemLabelFontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
            { title: '图例样式 - 字体颜色', dataIndex: 'itemLabelFill', valueType: 'ColorPicker' },
            { title: '图例样式 - 字体透明度', dataIndex: 'itemLabelFillOpacity', valueType: 'InputNumber' },
            { title: '图例样式 - 图例间距', dataIndex: 'itemSpacing', valueType: 'InputNumber' },
        ]
    },
    TooltipStatus: {
        title: '提示设置',
        dataIndex: 'TooltipStatus',
        valueType: 'Collapse',
        children: [
            { title: '提示 - 状态', dataIndex: 'tooltipStatus', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '提示 - 模板', dataIndex: 'tooltipSelect', valueType: 'Select', valueEnum: TooltipMapping },
        ]
    },
    LabelStatus: {
        title: '数据标签状态',
        dataIndex: 'LabelStatus',
        valueType: 'Collapse',
        children: [
            { title: '数据标签 - 状态', dataIndex: 'labelStatus', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '数据标签 - 类型', dataIndex: 'labelType', valueType: 'Select', valueEnum: ChartsLabelTypeMapping },
            { title: '数据标签 - 位置', dataIndex: 'labelPosition', valueType: 'Select', valueEnum: ChartsLabelPosMapping },
            { title: '数据标签 - 文字大小', dataIndex: 'labelFontSize', valueType: 'InputNumber' },
            { title: '数据标签 - 文字字体', dataIndex: 'labelFontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
            { title: '数据标签 - 字体粗细', dataIndex: 'labelFontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
        ]
    },
    ScrollbarStatus: {
        title: '滚动条设置',
        dataIndex: 'ScrollbarStatus',
        valueType: 'Collapse',
        children: [
            { title: '滚动条 - 状态', dataIndex: 'scrollbarStatus', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '滚动条 - 比例', dataIndex: 'scrollRatio', valueType: 'InputNumber' },
            { title: '滚动条 - 起始位置', dataIndex: 'scrollValue', valueType: 'InputNumber' },
            { title: '滚动条样式 - 是否圆角', dataIndex: 'scrollIsRound', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '滚动条样式 - 轨道宽度', dataIndex: 'scrollTrackSize', valueType: 'InputNumber' },
            { title: '滚动条样式 - 轨道内边距', dataIndex: 'scrollPadding', valueType: 'InputNumber' },
            { title: '滚动条样式 - 滑块填充色', dataIndex: 'scrollThumbFill', valueType: 'ColorPicker' },
            { title: '滚动条样式 - 滑块描边色', dataIndex: 'scrollThumbStroke', valueType: 'ColorPicker' },
            { title: '滚动条样式 - 轨道填充色', dataIndex: 'scrollTrackFill', valueType: 'ColorPicker' },
            { title: '滚动条样式 - 轨道描边色', dataIndex: 'scrollTrackStroke', valueType: 'ColorPicker' },
        ]
    },
    AnnotationsStatus: {
        title: '标记内容',
        dataIndex: 'AnnotationsStatus',
        valueType: 'Collapse',
        children: [
            { title: '标记 - 状态', dataIndex: 'annotationsStatus', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '标记 - 内容', dataIndex: 'annotationsText', valueType: 'Input' },
            { title: '标记 - 字号', dataIndex: 'annotationsFontSize', valueType: 'InputNumber' },
            { title: '标记 - 字体', dataIndex: 'annotationsFfontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
            { title: '标记 - 加粗', dataIndex: 'annotationsFfontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
            { title: '标记 - 字色', dataIndex: 'annotationsFfill', valueType: 'ColorPicker' },
        ]
    }
}

// 基础配置设置
const TextTemplateA01 = [
    { title: '接口地址', dataIndex: 'api', valueType: 'Input' },
    { title: '默认参数', dataIndex: 'params', valueType: 'Input' },
    {
        title: '映射关系',
        dataIndex: 'mapping',
        valueType: 'Fields',
        min: 1,
        max: 8,
        children: [
            { title: '显示图标', dataIndex: 'icon', valueType: 'Icon', upLevel: 'mapping' },
            { title: '图标颜色', dataIndex: 'color', valueType: 'ColorPicker', upLevel: 'mapping' },
            { title: '图标背景', dataIndex: 'back', valueType: 'ColorPicker', upLevel: 'mapping' },
            { title: '标题信息', dataIndex: 'context', valueType: 'Input' },
            { title: '映射参数', dataIndex: 'params', valueType: 'Input' },
            { title: '参数前单位', dataIndex: 'aftUnit', valueType: 'Input' },
            { title: '参数后单位', dataIndex: 'befUnit', valueType: 'Input' },
        ]
    },
    {
        title: '样式配置',
        dataIndex: 'Style',
        valueType: 'Collapse',
        children: [
            { title: '图标大小', dataIndex: 'iconSize', valueType: 'InputNumber' },
            { title: '图标圆角', dataIndex: 'iconRadio', valueType: 'InputNumber' },
            { title: '标题字色', dataIndex: 'contColor', valueType: 'ColorPicker' },
            { title: '标题字号', dataIndex: 'contSize', valueType: 'InputNumber' },
            { title: '标题字体', dataIndex: 'contFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
            { title: '标题加粗', dataIndex: 'contWeight', valueType: 'Select', valueEnum: FontWeightMapping },
            { title: '参数字色', dataIndex: 'paraColor', valueType: 'ColorPicker' },
            { title: '参数字号', dataIndex: 'paraSize', valueType: 'InputNumber' },
            { title: '参数字体', dataIndex: 'paraFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
            { title: '参数加粗', dataIndex: 'paraWeight', valueType: 'Select', valueEnum: FontWeightMapping },
            { title: '单位字色', dataIndex: 'unitColor', valueType: 'ColorPicker' },
            { title: '单位字号', dataIndex: 'unitSize', valueType: 'InputNumber' },
            { title: '单位字体', dataIndex: 'unitFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
            { title: '单位加粗', dataIndex: 'unitWeight', valueType: 'Select', valueEnum: FontWeightMapping },
        ]
    }
]
const ChartTemplateA01 = [
    { title: '接口地址', dataIndex: 'api', valueType: 'Input' },
    { title: '默认参数', dataIndex: 'params', valueType: 'Input' },
    { title: '是否分组', dataIndex: 'group', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '是否堆叠', dataIndex: 'stack', valueType: 'Radio', valueEnum: IsEnabledMapping },
    {
        title: '映射关系',
        dataIndex: 'mapping',
        valueType: 'Fields',
        min: 1,
        max: 99,
        children: [
            { title: '分组名称', dataIndex: 'nameField', valueType: 'Input' },
            { title: '类型映射', dataIndex: 'typeField', valueType: 'Input' },
            { title: '数值映射', dataIndex: 'valueField', valueType: 'Input' },
            { title: '图形颜色', dataIndex: 'color', valueType: 'ColorPicker', upLevel: 'mapping' },
        ]
    },
    ChartsFileMapping.XStyleTitle,
    ChartsFileMapping.XStyleLine,
    ChartsFileMapping.XStyleTick,
    ChartsFileMapping.XStyleLabel,
    ChartsFileMapping.XStyleGrid,
    ChartsFileMapping.YStyleLine,
    ChartsFileMapping.YStyleTick,
    ChartsFileMapping.YStyleLabel,
    ChartsFileMapping.YStyleGrid,
    ChartsFileMapping.LegendStatus,
    ChartsFileMapping.LegendStyle,
    ChartsFileMapping.TooltipStatus,
    ChartsFileMapping.LabelStatus,
    ChartsFileMapping.ScrollbarStatus,
]
const ChartTemplateA03 = [
    { title: '接口地址', dataIndex: 'api', valueType: 'Input' },
    { title: '默认参数', dataIndex: 'params', valueType: 'Input' },
    { title: '图例样式', dataIndex: 'shapeField', valueType: 'Select', valueEnum: ChartsLineTypeMapping },
    {
        title: '映射关系',
        dataIndex: 'mapping',
        valueType: 'Fields',
        min: 1,
        max: 99,
        children: [
            { title: '分组名称', dataIndex: 'nameField', valueType: 'Input' },
            { title: '类型映射', dataIndex: 'typeField', valueType: 'Input' },
            { title: '数值映射', dataIndex: 'valueField', valueType: 'Input' },
            { title: '图形颜色', dataIndex: 'color', valueType: 'ColorPicker', upLevel: 'mapping' },
        ]
    },
    ChartsFileMapping.XStyleTitle,
    ChartsFileMapping.XStyleLine,
    ChartsFileMapping.XStyleTick,
    ChartsFileMapping.XStyleLabel,
    ChartsFileMapping.XStyleGrid,
    ChartsFileMapping.YStyleLine,
    ChartsFileMapping.YStyleTick,
    ChartsFileMapping.YStyleLabel,
    ChartsFileMapping.YStyleGrid,
    ChartsFileMapping.LegendStatus,
    ChartsFileMapping.LegendStyle,
    ChartsFileMapping.TooltipStatus,
    ChartsFileMapping.LabelStatus,
    ChartsFileMapping.ScrollbarStatus,
]
const ChartTemplateA04 = [
    { title: '接口地址', dataIndex: 'api', valueType: 'Input' },
    { title: '默认参数', dataIndex: 'params', valueType: 'Input' },
    { title: '图例样式', dataIndex: 'shapeField', valueType: 'Select', valueEnum: ChartsLineTypeMapping },
    { title: '描边状态', dataIndex: 'lineStatus', valueType: 'Radio', valueEnum: IsEnabledMapping },
    {
        title: '映射关系',
        dataIndex: 'mapping',
        valueType: 'Fields',
        min: 1,
        max: 99,
        children: [
            { title: '分组名称', dataIndex: 'nameField', valueType: 'Input' },
            { title: '类型映射', dataIndex: 'typeField', valueType: 'Input' },
            { title: '数值映射', dataIndex: 'valueField', valueType: 'Input' },
            { title: '图形颜色', dataIndex: 'color', valueType: 'ColorPicker', upLevel: 'mapping' },
        ]
    },
    ChartsFileMapping.XStyleTitle,
    ChartsFileMapping.XStyleLine,
    ChartsFileMapping.XStyleTick,
    ChartsFileMapping.XStyleLabel,
    ChartsFileMapping.XStyleGrid,
    ChartsFileMapping.YStyleLine,
    ChartsFileMapping.YStyleTick,
    ChartsFileMapping.YStyleLabel,
    ChartsFileMapping.YStyleGrid,
    ChartsFileMapping.LegendStatus,
    ChartsFileMapping.LegendStyle,
    ChartsFileMapping.TooltipStatus,
    ChartsFileMapping.LabelStatus,
    ChartsFileMapping.ScrollbarStatus,
]
const ChartTemplateA05 = [
    { title: '接口地址', dataIndex: 'api', valueType: 'Input' },
    { title: '默认参数', dataIndex: 'params', valueType: 'Input' },
    { title: '字段参数', dataIndex: 'typeField', valueType: 'Input' },
    { title: '数值参数', dataIndex: 'valueField', valueType: 'Input' },
    { title: '环形圆心比例', dataIndex: 'innerRadius', valueType: 'InputNumber' },
    {
        title: '色板',
        dataIndex: 'mapping',
        valueType: 'Fields',
        min: 1,
        max: 99,
        children: [
            { title: '图例颜色', dataIndex: 'color', valueType: 'ColorPicker', upLevel: 'mapping' }
        ]
    },
    ChartsFileMapping.LegendStatus,
    ChartsFileMapping.LegendStyle,
    ChartsFileMapping.TooltipStatus,
    ChartsFileMapping.LabelStatus,
    ChartsFileMapping.AnnotationsStatus,
    {
        title: '样式',
        dataIndex: 'StyleConfig',
        valueType: 'Collapse',
        children: [
            { title: '样式 - 描边', dataIndex: 'styleStroke', valueType: 'ColorPicker' },
            { title: '样式 - 圆角', dataIndex: 'styleRadius', valueType: 'InputNumber' },
            { title: '样式 - 间距', dataIndex: 'styleInset', valueType: 'InputNumber' },
        ]
    }
]
const ChartTemplateA06 = [
    { title: '接口地址', dataIndex: 'api', valueType: 'Input' },
    { title: '默认参数', dataIndex: 'params', valueType: 'Input' },
    { title: '字段参数', dataIndex: 'targetField', valueType: 'Input' },
    { title: '最大数值', dataIndex: 'totalField', valueType: 'InputNumber' },
    {
        title: '比例板',
        dataIndex: 'mapping',
        valueType: 'Fields',
        min: 1,
        max: 99,
        children: [
            { title: '图例颜色', dataIndex: 'color', valueType: 'ColorPicker', upLevel: 'mapping' },
            { title: '图例数值', dataIndex: 'value', valueType: 'InputNumber', upLevel: 'mapping' },
        ]
    },
    { title: '图例类型', dataIndex: 'type', valueType: 'Select', valueEnum: GaugeTextMapping },
    { title: '数值映射', dataIndex: 'target', valueType: 'Input' },
    { title: '总数映射', dataIndex: 'total', valueType: 'Input' },
]
const ChartTemplateA07 = [
    { title: '接口地址', dataIndex: 'api', valueType: 'Input' },
    { title: '默认参数', dataIndex: 'params', valueType: 'Input' },
    { title: '图例样式', dataIndex: 'shapeField', valueType: 'Select', valueEnum: ChartsLineTypeMapping },
    { title: '描边状态', dataIndex: 'lineStatus', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '是否填充', dataIndex: 'area', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '填充透明度', dataIndex: 'areaOpacity', valueType: 'InputNumber' },
    {
        title: '映射关系',
        dataIndex: 'mapping',
        valueType: 'Fields',
        min: 1,
        max: 99,
        children: [
            { title: '分组名称', dataIndex: 'nameField', valueType: 'Input' },
            { title: '类型映射', dataIndex: 'typeField', valueType: 'Input' },
            { title: '数值映射', dataIndex: 'valueField', valueType: 'Input' },
            { title: '图形颜色', dataIndex: 'color', valueType: 'ColorPicker', upLevel: 'mapping' },
        ]
    },
    ChartsFileMapping.XStyleTitle,
    ChartsFileMapping.XStyleLine,
    ChartsFileMapping.XStyleTick,
    ChartsFileMapping.XStyleLabel,
    ChartsFileMapping.XStyleGrid,
    ChartsFileMapping.YStyleLine,
    ChartsFileMapping.YStyleTick,
    ChartsFileMapping.YStyleLabel,
    ChartsFileMapping.YStyleGrid,
    ChartsFileMapping.LegendStatus,
    ChartsFileMapping.LegendStyle,
    ChartsFileMapping.TooltipStatus,
    ChartsFileMapping.LabelStatus,
]
const ChartTemplateA08 = [
    { title: '接口地址', dataIndex: 'api', valueType: 'Input' },
    { title: '默认参数', dataIndex: 'params', valueType: 'Input' },
    { title: '展示年份', dataIndex: 'range', valueType: 'DatePicker', picker: 'year' },
    { title: '初始周期', dataIndex: 'firstDay', valueType: 'Select', valueEnum: ChartsHeatmapWeekMapping },
    { title: '最小值', dataIndex: 'min', valueType: 'InputNumber' },
    { title: '最大值', dataIndex: 'max', valueType: 'InputNumber' },
    {
        title: '色板',
        dataIndex: 'mapping',
        valueType: 'Fields',
        min: 1,
        max: 99,
        children: [
            { title: '图例颜色', dataIndex: 'color', valueType: 'ColorPicker', upLevel: 'mapping' }
        ]
    },
]
const ChartTemplateA09 = [
    { title: '接口地址', dataIndex: 'api', valueType: 'Input' },
    { title: '默认参数', dataIndex: 'params', valueType: 'Input' },
    { title: '最小值', dataIndex: 'min', valueType: 'InputNumber' },
    { title: '最大值', dataIndex: 'max', valueType: 'InputNumber' },
    { title: '透明度', dataIndex: 'opacity', valueType: 'InputNumber' },
    {
        title: 'X轴设置',
        dataIndex: 'XsetUp',
        valueType: 'Collapse',
        children: [
            { title: '标题', dataIndex: 'Xtitle', valueType: 'Input' },
            { title: '长度', dataIndex: 'Xlength', valueType: 'InputNumber' },
        ]
    },
    {
        title: 'Y轴设置',
        dataIndex: 'XsetUp',
        valueType: 'Collapse',
        children: [
            { title: '标题', dataIndex: 'Ytitle', valueType: 'Input' },
            { title: '长度', dataIndex: 'Ylength', valueType: 'InputNumber' },
        ]
    },
    {
        title: 'Z轴设置',
        dataIndex: 'XsetUp',
        valueType: 'Collapse',
        children: [
            { title: '标题', dataIndex: 'Ztitle', valueType: 'Input' },
            { title: '长度', dataIndex: 'Zlength', valueType: 'InputNumber' },
        ]
    },
    {
        title: '色板',
        dataIndex: 'mapping',
        valueType: 'Fields',
        min: 1,
        max: 99,
        children: [
            { title: '图例颜色', dataIndex: 'color', valueType: 'ColorPicker', upLevel: 'mapping' }
        ]
    },

]
// !!! VChart 设置
// !!! 一号版
// Todo 一号版 基础设置 Common
const VChartTemplateA01Common = [
    { title: '接口地址', dataIndex: 'api', valueType: 'Input' },
    { title: '默认参数', dataIndex: 'params', valueType: 'Input' },
    { title: '图例类型', dataIndex: 'type', valueType: 'Radio', valueEnum: VChartsA01TypeMapping },
    { title: '是否堆叠', dataIndex: 'stack', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '是否分组', dataIndex: 'group', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '百分比显示', dataIndex: 'percent', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '布局方式', dataIndex: 'direction', valueType: 'Radio', valueEnum: VChartsA01DirectionMapping },
    { title: '背景颜色', dataIndex: 'background', valueType: 'ColorPicker' },
    { title: '内间距', dataIndex: 'padding', valueType: 'InputNumber' },
    { title: 'X轴字段', dataIndex: 'xField', valueType: 'Input' },
    { title: 'Y轴字段', dataIndex: 'yField', valueType: 'Input' },
    {
        title: '色板',
        dataIndex: 'colorPalette',
        valueType: 'Fields',
        min: 1,
        max: 99,
        children: [
            { title: '图例颜色', dataIndex: 'color', valueType: 'ColorPicker', upLevel: 'colorPalette' },
        ]
    },
]
// Todo 一号版 标题设置 Title    
const VChartTemplateA01Title = [
    { title: '是否启用', dataIndex: 'title_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '标题内容', dataIndex: 'title_text', valueType: 'Input' },
    { title: '背景颜色', dataIndex: 'title_background', valueType: 'ColorPicker' },
    { title: '水平对齐', dataIndex: 'title_align', valueType: 'Select', valueEnum: VchartsTextAlign2Mapping },
    { title: '内部填充', dataIndex: 'title_innerPadding', valueType: 'InputNumber' },
    {
        title: '文字样式',
        dataIndex: 'fontStyle',
        valueType: 'Collapse',
        children: [
            { title: '文字颜色', dataIndex: 'title_fill', valueType: 'ColorPicker' },
            { title: '标题字号', dataIndex: 'title_fontSize', valueType: 'InputNumber' },
            { title: '标题字体', dataIndex: 'title_fontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
            { title: '标题加粗', dataIndex: 'title_fontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
            { title: '标题倾斜', dataIndex: 'title_fontStyle', valueType: 'Select', valueEnum: FontStyleMapping },
            { title: '下划线', dataIndex: 'title_underline', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '中划线', dataIndex: 'title_lineThrough', valueType: 'Radio', valueEnum: IsEnabledMapping },
        ]
    },
    {
        title: '阴影样式',
        dataIndex: 'shadowStyle',
        valueType: 'Collapse',
        children: [
            { title: '阴影颜色', dataIndex: 'title_shadowColor', valueType: 'ColorPicker' },
            { title: '阴影大小', dataIndex: 'title_shadowBlur', valueType: 'InputNumber' },
            { title: 'X轴偏移', dataIndex: 'title_shadowOffsetX', valueType: 'InputNumber' },
            { title: 'Y轴偏移', dataIndex: 'title_shadowOffsetY', valueType: 'InputNumber' },
        ]
    },
    {
        title: '描边样式',
        dataIndex: 'strokeStyle',
        valueType: 'Collapse',
        children: [
            { title: '描边颜色', dataIndex: 'title_stroke', valueType: 'ColorPicker' },
            { title: '描边粗细', dataIndex: 'title_lineWidth', valueType: 'InputNumber' },
        ]
    },
]
// Todo 一号版 轴线设置 Axes     
const VChartTemplateA01Axes = [
    {
        title: '轴设置',
        dataIndex: 'axes_setUp',
        valueType: 'Fields',
        min: 1,
        max: 99,
        children: [
            { title: '轴线位置', dataIndex: 'orient', valueType: 'Select', valueEnum: VchartsAxesOrientMapping },
            { title: '鼠标划上', dataIndex: 'hover', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '是否收缩', dataIndex: 'trimPadding', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '轴线', dataIndex: 'domainLine_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '轴线 - 颜色', dataIndex: 'domainLine_stroke', valueType: 'ColorPicker', upLevel: 'axes_setUp' },
            { title: '刻度', dataIndex: 'tick_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '刻度 - 长度', dataIndex: 'tick_tickSize', valueType: 'InputNumber' },
            { title: '刻度 - 颜色', dataIndex: 'tick_stroke', valueType: 'ColorPicker', upLevel: 'axes_setUp' },
            { title: '网格线', dataIndex: 'grid_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '网格线 - 颜色', dataIndex: 'grid_stroke', valueType: 'ColorPicker', upLevel: 'axes_setUp' },
            { title: '网格线 - 实现长度', dataIndex: 'grid_lineDashA', valueType: 'InputNumber' },
            { title: '网格线 - 虚线长度', dataIndex: 'grid_lineDashB', valueType: 'InputNumber' },
            { title: '轴标题', dataIndex: 'title_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '轴距离', dataIndex: 'title_space', valueType: 'InputNumber' },
            { title: '标题 - 标题内容', dataIndex: 'title_text', valueType: 'Input' },
            { title: '标题 - 文字颜色', dataIndex: 'title_fill', valueType: 'ColorPicker', upLevel: 'axes_setUp' },
            { title: '标题 - 文字字号', dataIndex: 'title_fontSize', valueType: 'InputNumber' },
            { title: '标题 - 文字字体', dataIndex: 'title_fontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
            { title: '标题 - 文字加粗', dataIndex: 'title_fontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
            { title: '标题 - 文字倾斜', dataIndex: 'title_fontStyle', valueType: 'Select', valueEnum: FontStyleMapping },
            { title: '标题 - 下划线', dataIndex: 'title_underline', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '标题 - 中划线', dataIndex: 'title_lineThrough', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '标题 - 阴影颜色', dataIndex: 'title_shadowColor', valueType: 'ColorPicker', upLevel: 'axes_setUp' },
            { title: '标题 - 阴影大小', dataIndex: 'title_shadowBlur', valueType: 'InputNumber' },
            { title: '标题 - X轴偏移', dataIndex: 'title_shadowOffsetX', valueType: 'InputNumber' },
            { title: '标题 - Y轴偏移', dataIndex: 'title_shadowOffsetY', valueType: 'InputNumber' },
            { title: '标题 - 描边颜色', dataIndex: 'title_stroke', valueType: 'ColorPicker', upLevel: 'axes_setUp' },
            { title: '标题 - 描边粗细', dataIndex: 'title_lineWidth', valueType: 'InputNumber' },
            { title: '标签 - 是否启用', dataIndex: 'label_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '标签 - 文字内容', dataIndex: 'label_text', valueType: 'Input' },
            { title: '标签 - 文字颜色', dataIndex: 'label_fill', valueType: 'ColorPicker', upLevel: 'axes_setUp' },
            { title: '标签 - 文字字号', dataIndex: 'label_fontSize', valueType: 'InputNumber' },
            { title: '标签 - 文字字体', dataIndex: 'label_fontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
            { title: '标签 - 文字加粗', dataIndex: 'label_fontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
            { title: '标签 - 文字倾斜', dataIndex: 'label_fontStyle', valueType: 'Select', valueEnum: FontStyleMapping },
            { title: '标签 - 下划线', dataIndex: 'label_underline', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '标签 - 中划线', dataIndex: 'label_lineThrough', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '标签 - 阴影颜色', dataIndex: 'label_shadowColor', valueType: 'ColorPicker', upLevel: 'axes_setUp' },
            { title: '标签 - 阴影大小', dataIndex: 'label_shadowBlur', valueType: 'InputNumber' },
            { title: '标签 - X轴偏移', dataIndex: 'label_shadowOffsetX', valueType: 'InputNumber' },
            { title: '标签 - Y轴偏移', dataIndex: 'label_shadowOffsetY', valueType: 'InputNumber' },
            { title: '标签 - 描边颜色', dataIndex: 'label_stroke', valueType: 'ColorPicker', upLevel: 'axes_setUp' },
            { title: '标签 - 描边粗细', dataIndex: 'label_lineWidth', valueType: 'InputNumber' },
            { title: '单位 - 是否启用', dataIndex: 'unit_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '单位 - 文字左移', dataIndex: 'unit_dx', valueType: 'InputNumber' },
            { title: '单位 - 文字上移', dataIndex: 'unit_dy', valueType: 'InputNumber' },
            { title: '单位 - 文字内容', dataIndex: 'unit_text', valueType: 'Input' },
            { title: '单位 - 文字颜色', dataIndex: 'unit_fill', valueType: 'ColorPicker', upLevel: 'axes_setUp' },
            { title: '单位 - 文字字号', dataIndex: 'unit_fontSize', valueType: 'InputNumber' },
            { title: '单位 - 文字字体', dataIndex: 'unit_fontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
            { title: '单位 - 文字加粗', dataIndex: 'unit_fontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
            { title: '单位 - 文字倾斜', dataIndex: 'unit_fontStyle', valueType: 'Select', valueEnum: FontStyleMapping },
            { title: '单位 - 下划线', dataIndex: 'unit_underline', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '单位 - 中划线', dataIndex: 'unit_lineThrough', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '单位 - 阴影颜色', dataIndex: 'unit_shadowColor', valueType: 'ColorPicker', upLevel: 'axes_setUp' },
            { title: '单位 - 阴影大小', dataIndex: 'unit_shadowBlur', valueType: 'InputNumber' },
            { title: '单位 - X轴偏移', dataIndex: 'unit_shadowOffsetX', valueType: 'InputNumber' },
            { title: '单位 - Y轴偏移', dataIndex: 'unit_shadowOffsetY', valueType: 'InputNumber' },
            { title: '单位 - 描边颜色', dataIndex: 'unit_stroke', valueType: 'ColorPicker', upLevel: 'axes_setUp' },
            { title: '单位 - 描边粗细', dataIndex: 'unit_lineWidth', valueType: 'InputNumber' },
        ]
    },
]
// Todo 一号版 图例设置 Legends  
const VChartTemplateA01Legends = [
    {
        title: '图例设置',
        dataIndex: 'legends_setUp',
        valueType: 'Fields',
        min: 1,
        max: 99,
        children: [
            { title: '是否启用', dataIndex: 'visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '图例位置', dataIndex: 'orient', valueType: 'Select', valueEnum: VchartsAxesOrientMapping },
            { title: '对齐方式', dataIndex: 'position', valueType: 'Select', valueEnum: VchartsLegendsPositionMapping },
            { title: '填充间距', dataIndex: 'padding', valueType: 'InputNumber' },
            { title: '开启选中', dataIndex: 'select', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '操作模式', dataIndex: 'selectMode', valueType: 'Select', valueEnum: VchartsLegendsSelectModeMapping },
            { title: '全部取消', dataIndex: 'allowAllCanceled', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '标题 - 是否启用', dataIndex: 'title_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '标题 - 背景颜色', dataIndex: 'title_background', valueType: 'ColorPicker', upLevel: 'legends_setUp' },
            { title: '标题 - 文字内容', dataIndex: 'title_text', valueType: 'Input' },
            { title: '标题 - 对齐方式', dataIndex: 'title_align', valueType: 'Select', valueEnum: VchartsLegendsPositionMapping },
            { title: '标题 - 图例间距', dataIndex: 'title_space', valueType: 'InputNumber' },
            { title: '标题 - 文字颜色', dataIndex: 'title_fill', valueType: 'ColorPicker', upLevel: 'legends_setUp' },
            { title: '标题 - 文字字号', dataIndex: 'title_fontSize', valueType: 'InputNumber' },
            { title: '标题 - 文字字体', dataIndex: 'title_fontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
            { title: '标题 - 文字加粗', dataIndex: 'title_fontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
            { title: '标题 - 文字倾斜', dataIndex: 'title_fontStyle', valueType: 'Select', valueEnum: FontStyleMapping },
            { title: '标题 - 下划线', dataIndex: 'title_underline', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '标题 - 中划线', dataIndex: 'title_lineThrough', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '标题 - 阴影颜色', dataIndex: 'title_shadowColor', valueType: 'ColorPicker', upLevel: 'legends_setUp' },
            { title: '标题 - 阴影大小', dataIndex: 'title_shadowBlur', valueType: 'InputNumber' },
            { title: '标题 - X轴偏移', dataIndex: 'title_shadowOffsetX', valueType: 'InputNumber' },
            { title: '标题 - Y轴偏移', dataIndex: 'title_shadowOffsetY', valueType: 'InputNumber' },
            { title: '标题 - 描边颜色', dataIndex: 'title_stroke', valueType: 'ColorPicker', upLevel: 'legends_setUp' },
            { title: '标题 - 描边粗细', dataIndex: 'title_lineWidth', valueType: 'InputNumber' },
            { title: '图例 - 水平间距', dataIndex: 'item_spaceCol', valueType: 'InputNumber' },
            { title: '图例 - 垂直间距', dataIndex: 'item_spaceRow', valueType: 'InputNumber' },
            { title: '图例 - 内部填充', dataIndex: 'item_padding', valueType: 'InputNumber' },
            { title: '图例 - 对齐方式', dataIndex: 'item_align', valueType: 'Select', valueEnum: VchartsLegendsItemAlignMapping },
            { title: '图例 - 行内聚焦', dataIndex: 'item_focus', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '图例 - 聚焦图标', dataIndex: 'item_focusSize', valueType: 'InputNumber' },
            { title: '图例 - 背景圆角', dataIndex: 'item_backRadius', valueType: 'InputNumber' },
            { title: '图例 - 图文间距', dataIndex: 'item_shape_space', valueType: 'InputNumber' },
            { title: '图例 - 图标大小', dataIndex: 'item_shape_size', valueType: 'InputNumber' },
            { title: '图例 - 文字间距', dataIndex: 'item_label_space', valueType: 'InputNumber' },
            { title: '图例 - 文字颜色', dataIndex: 'item_label_fill', valueType: 'ColorPicker', upLevel: 'legends_setUp' },
            { title: '图例 - 文字字号', dataIndex: 'item_label_fontSize', valueType: 'InputNumber' },
            { title: '图例 - 文字字体', dataIndex: 'item_label_fontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
            { title: '图例 - 文字加粗', dataIndex: 'item_label_fontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
            { title: '图例 - 文字倾斜', dataIndex: 'item_label_fontStyle', valueType: 'Select', valueEnum: FontStyleMapping },
            { title: '图例 - 下划线', dataIndex: 'item_label_underline', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '图例 - 中划线', dataIndex: 'item_label_lineThrough', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '图例 - 阴影颜色', dataIndex: 'item_label_shadowColor', valueType: 'ColorPicker', upLevel: 'legends_setUp' },
            { title: '图例 - 阴影大小', dataIndex: 'item_label_shadowBlur', valueType: 'InputNumber' },
            { title: '图例 - X轴偏移', dataIndex: 'item_label_shadowOffsetX', valueType: 'InputNumber' },
            { title: '图例 - Y轴偏移', dataIndex: 'item_label_shadowOffsetY', valueType: 'InputNumber' },
            { title: '图例 - 描边颜色', dataIndex: 'item_label_stroke', valueType: 'ColorPicker', upLevel: 'legends_setUp' },
            { title: '图例 - 描边粗细', dataIndex: 'item_label_lineWidth', valueType: 'InputNumber' },
        ]
    },
]
// Todo 一号版 标签设置 Label    
const VChartTemplateA01Label = [
    { title: '是否启用', dataIndex: 'label_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '标签位置', dataIndex: 'label_position', valueType: 'Select', valueEnum: VchartsLabelPositionMapping },
    { title: '标签内容', dataIndex: 'label_formatter', valueType: 'Input' },
    { title: '标签距离', dataIndex: 'label_offset', valueType: 'InputNumber' },
    { title: '防止重叠', dataIndex: 'label_overlap', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '智能反色', dataIndex: 'label_smartInvert', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '排列方式', dataIndex: 'label_direction', valueType: 'Select', valueEnum: VChartsA01DirectionMapping },
    { title: '最大长度', dataIndex: 'label_maxLineWidth', valueType: 'InputNumber' },
    { title: '省略方式', dataIndex: 'label_suffixPosition', valueType: 'Select', valueEnum: VchartsLegendsPositionMapping },
    { title: '文字字号', dataIndex: 'label_fontSize', valueType: 'InputNumber' },
    { title: '文字字体', dataIndex: 'label_fontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
    { title: '文字加粗', dataIndex: 'label_fontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
    { title: '文字倾斜', dataIndex: 'label_fontStyle', valueType: 'Select', valueEnum: FontStyleMapping },
    { title: '下划线', dataIndex: 'label_underline', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '中划线', dataIndex: 'label_lineThrough', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '阴影颜色', dataIndex: 'label_shadowColor', valueType: 'ColorPicker' },
    { title: '阴影大小', dataIndex: 'label_shadowBlur', valueType: 'InputNumber' },
    { title: 'X轴偏移', dataIndex: 'label_shadowOffsetX', valueType: 'InputNumber' },
    { title: 'Y轴偏移', dataIndex: 'label_shadowOffsetY', valueType: 'InputNumber' },
    { title: '描边颜色', dataIndex: 'label_stroke', valueType: 'ColorPicker' },
    { title: '描边粗细', dataIndex: 'label_lineWidth', valueType: 'InputNumber' },
]
// Todo 一号版 提示设置 Tooltip 
const VChartTemplateA01Tooltip = [
    { title: '是否启用', dataIndex: 'tooltip_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '触发方式', dataIndex: 'tooltip_trigger', valueType: 'Radio', valueEnum: VchartsTriggerMapping },
    { title: '内容间距', dataIndex: 'tooltip_spaceRow', valueType: 'InputNumber' },
    { title: '图元 - 是否启用', dataIndex: 'tooltip_mark_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '图元 - 位置选择', dataIndex: 'tooltip_mark_position', valueType: 'Select', valueEnum: VchartsTooltipPositionMapping },
    { title: '图元 - 相对位置', dataIndex: 'tooltip_mark_positionMode', valueType: 'Select', valueEnum: VchartsTooltipPositionModeMapping },
    { title: '维度 - 是否启用', dataIndex: 'tooltip_dimension_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '维度 - 位置选择', dataIndex: 'tooltip_dimension_position', valueType: 'Select', valueEnum: VchartsTooltipPositionMapping },
    { title: '维度 - 相对位置', dataIndex: 'tooltip_dimension_positionMode', valueType: 'Select', valueEnum: VchartsTooltipPositionModeMapping },
    { title: '背景 - 内部填充', dataIndex: 'tooltip_panel_padding', valueType: 'InputNumber' },
    { title: '背景 - 背景颜色', dataIndex: 'tooltip_panel_backgroundColor', valueType: 'ColorPicker' },
    { title: '背景 - 边框颜色', dataIndex: 'tooltip_panel_borderColor', valueType: 'ColorPicker' },
    { title: '背景 - 边框宽度', dataIndex: 'tooltip_panel_borderWidth', valueType: 'InputNumber' },
    { title: '背景 - 边框圆角', dataIndex: 'tooltip_panel_borderRadius', valueType: 'InputNumber' },
    { title: '背景 - 阴影X轴', dataIndex: 'tooltip_panel_shadowX', valueType: 'InputNumber' },
    { title: '背景 - 阴影Y轴', dataIndex: 'tooltip_panel_shadowY', valueType: 'InputNumber' },
    { title: '背景 - 阴影模糊', dataIndex: 'tooltip_panel_shadowBlur', valueType: 'InputNumber' },
    { title: '背景 - 阴影扩展', dataIndex: 'tooltip_panel_shadowSpread', valueType: 'InputNumber' },
    { title: '背景 - 阴影颜色', dataIndex: 'tooltip_panel_shadowColor', valueType: 'ColorPicker' },
    { title: '标题 - 文字颜色', dataIndex: 'tooltip_titleLabel_fontColor', valueType: 'ColorPicker' },
    { title: '标题 - 文字字号', dataIndex: 'tooltip_titleLabel_fontSize', valueType: 'InputNumber' },
    { title: '标题 - 文字字体', dataIndex: 'tooltip_titleLabel_fontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
    { title: '标题 - 文字加粗', dataIndex: 'tooltip_titleLabel_fontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
    { title: '标题 - 对齐方式', dataIndex: 'tooltip_titleLabel_textAlign', valueType: 'Radio', valueEnum: VchartsTextAlign2Mapping },
    { title: '图标 - 图标大小', dataIndex: 'tooltip_shape_size', valueType: 'InputNumber' },
    { title: '图标 - 右侧间距', dataIndex: 'tooltip_shape_spacing', valueType: 'InputNumber' },
    { title: '内容 - 文字颜色', dataIndex: 'tooltip_keyLabel_fontColor', valueType: 'ColorPicker' },
    { title: '内容 - 文字字号', dataIndex: 'tooltip_keyLabel_fontSize', valueType: 'InputNumber' },
    { title: '内容 - 文字字体', dataIndex: 'tooltip_keyLabel_fontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
    { title: '内容 - 文字加粗', dataIndex: 'tooltip_keyLabel_fontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
    { title: '内容 - 对齐方式', dataIndex: 'tooltip_keyLabel_textAlign', valueType: 'Radio', valueEnum: VchartsTextAlign2Mapping },
    { title: '内容 - 右侧间距', dataIndex: 'tooltip_keyLabel_tspacing', valueType: 'InputNumber' },
    { title: '数值 - 文字颜色', dataIndex: 'tooltip_valueLabel_fontColor', valueType: 'ColorPicker' },
    { title: '数值 - 文字字号', dataIndex: 'tooltip_valueLabel_fontSize', valueType: 'InputNumber' },
    { title: '数值 - 文字字体', dataIndex: 'tooltip_valueLabel_fontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
    { title: '数值 - 文字加粗', dataIndex: 'tooltip_valueLabel_fontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
    { title: '数值 - 对齐方式', dataIndex: 'tooltip_valueLabel_textAlign', valueType: 'Radio', valueEnum: VchartsTextAlign2Mapping },
    { title: '数值 - 右侧间距', dataIndex: 'tooltip_valueLabel_tspacing', valueType: 'InputNumber' },




]
// Todo 一号版 指示设置 Crosshair 
const VChartTemplateA01Crosshair = [
    { title: '触发方式', dataIndex: 'crosshair_trigger', valueType: 'Radio', valueEnum: VchartsTriggerMapping },
    { title: 'X轴 - 整体启用', dataIndex: 'crosshair_X_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: 'X轴辅助 - 是否启用', dataIndex: 'crosshair_X_lineVisible', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: 'X轴辅助 - 显示类型', dataIndex: 'crosshair_X_lineType', valueType: 'Radio', valueEnum: VchartsCrosshairTypeMapping },
    { title: 'X轴辅助 - 填充颜色', dataIndex: 'crosshair_X_lineFill', valueType: 'ColorPicker' },
    { title: 'X轴辅助 - 线段颜色', dataIndex: 'crosshair_X_lineStroke', valueType: 'ColorPicker' },
    { title: 'X轴辅助 - 线段宽度', dataIndex: 'crosshair_X_lineLineWidth', valueType: 'InputNumber' },
    { title: 'X轴辅助 - 线段实线', dataIndex: 'crosshair_X_lineLineDashA', valueType: 'InputNumber' },
    { title: 'X轴辅助 - 线段虚线', dataIndex: 'crosshair_X_lineLineDashB', valueType: 'InputNumber' },
    { title: 'X轴标签 - 是否启用', dataIndex: 'crosshair_X_labelVisible', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: 'X轴标签 - 背景颜色', dataIndex: 'crosshair_X_labelBackground', valueType: 'ColorPicker' },
    { title: 'X轴标签 - 横向对齐', dataIndex: 'crosshair_X_labelTextAlign', valueType: 'Select', valueEnum: VchartsTextAlignMapping },
    { title: 'X轴标签 - 纵向对齐', dataIndex: 'crosshair_X_labelTextBaseline', valueType: 'Select', valueEnum: VchartsTextBaselineMapping },
    { title: 'X轴标签 - 文字颜色', dataIndex: 'crosshair_X_labelFill', valueType: 'ColorPicker' },
    { title: 'X轴标签 - 文字字号', dataIndex: 'crosshair_X_labelFontSize', valueType: 'InputNumber' },
    { title: 'X轴标签 - 文字字体', dataIndex: 'crosshair_X_labelFontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
    { title: 'X轴标签 - 文字加粗', dataIndex: 'crosshair_X_labelFontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
    { title: 'X轴标签 - 文字倾斜', dataIndex: 'crosshair_X_labelFontStyle', valueType: 'Select', valueEnum: FontStyleMapping },
    { title: 'X轴标签 - 下划线', dataIndex: 'crosshair_X_labelUnderline', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: 'X轴标签 - 中划线', dataIndex: 'crosshair_X_labelLineThrough', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: 'X轴标签 - 阴影颜色', dataIndex: 'crosshair_X_labelShadowColor', valueType: 'ColorPicker' },
    { title: 'X轴标签 - 阴影大小', dataIndex: 'crosshair_X_labelShadowBlur', valueType: 'InputNumber' },
    { title: 'X轴标签 - X轴偏移', dataIndex: 'crosshair_X_labelShadowOffsetX', valueType: 'InputNumber' },
    { title: 'X轴标签 - Y轴偏移', dataIndex: 'crosshair_X_labelShadowOffsetY', valueType: 'InputNumber' },
    { title: 'X轴标签 - 描边颜色', dataIndex: 'crosshair_X_labelStroke', valueType: 'ColorPicker', upLevel: 'legends_setUp' },
    { title: 'X轴标签 - 描边粗细', dataIndex: 'crosshair_X_labelLineWidth', valueType: 'InputNumber' },
    { title: 'Y轴 - 整体启用', dataIndex: 'crosshair_Y_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: 'Y轴辅助 - 是否启用', dataIndex: 'crosshair_Y_lineVisible', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: 'Y轴辅助 - 显示类型', dataIndex: 'crosshair_Y_lineType', valueType: 'Radio', valueEnum: VchartsCrosshairTypeMapping },
    { title: 'Y轴辅助 - 填充颜色', dataIndex: 'crosshair_Y_lineFill', valueType: 'ColorPicker' },
    { title: 'Y轴辅助 - 线段颜色', dataIndex: 'crosshair_Y_lineStroke', valueType: 'ColorPicker' },
    { title: 'Y轴辅助 - 线段宽度', dataIndex: 'crosshair_Y_lineLineWidth', valueType: 'InputNumber' },
    { title: 'Y轴辅助 - 线段实线', dataIndex: 'crosshair_Y_lineLineDashA', valueType: 'InputNumber' },
    { title: 'Y轴辅助 - 线段虚线', dataIndex: 'crosshair_Y_lineLineDashB', valueType: 'InputNumber' },
    { title: 'Y轴标签 - 是否启用', dataIndex: 'crosshair_Y_labelVisible', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: 'Y轴标签 - 背景颜色', dataIndex: 'crosshair_Y_labelBackground', valueType: 'ColorPicker' },
    { title: 'Y轴标签 - 横向对齐', dataIndex: 'crosshair_Y_labelTextAlign', valueType: 'Select', valueEnum: VchartsTextAlignMapping },
    { title: 'Y轴标签 - 纵向对齐', dataIndex: 'crosshair_Y_labelTextBaseline', valueType: 'Select', valueEnum: VchartsTextBaselineMapping },
    { title: 'Y轴标签 - 文字颜色', dataIndex: 'crosshair_Y_labelFill', valueType: 'ColorPicker' },
    { title: 'Y轴标签 - 文字字号', dataIndex: 'crosshair_Y_labelFontSize', valueType: 'InputNumber' },
    { title: 'Y轴标签 - 文字字体', dataIndex: 'crosshair_Y_labelFontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
    { title: 'Y轴标签 - 文字加粗', dataIndex: 'crosshair_Y_labelFontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
    { title: 'Y轴标签 - 文字倾斜', dataIndex: 'crosshair_Y_labelFontStyle', valueType: 'Select', valueEnum: FontStyleMapping },
    { title: 'Y轴标签 - 下划线', dataIndex: 'crosshair_Y_labelUnderline', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: 'Y轴标签 - 中划线', dataIndex: 'crosshair_Y_labelLineThrough', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: 'Y轴标签 - 阴影颜色', dataIndex: 'crosshair_Y_labelShadowColor', valueType: 'ColorPicker' },
    { title: 'Y轴标签 - 阴影大小', dataIndex: 'crosshair_Y_labelShadowBlur', valueType: 'InputNumber' },
    { title: 'Y轴标签 - X轴偏移', dataIndex: 'crosshair_Y_labelShadowOffsetX', valueType: 'InputNumber' },
    { title: 'Y轴标签 - Y轴偏移', dataIndex: 'crosshair_Y_labelShadowOffsetY', valueType: 'InputNumber' },
    { title: 'Y轴标签 - 描边颜色', dataIndex: 'crosshair_Y_labelStroke', valueType: 'ColorPicker', upLevel: 'legends_setUp' },
    { title: 'Y轴标签 - 描边粗细', dataIndex: 'crosshair_Y_labelLineWidth', valueType: 'InputNumber' },
]
// Todo 一号版 合计设置 TotalLabel
const VChartTemplateA01TotalLabel = [
    { title: '是否启用', dataIndex: 'totalLabel_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '文字颜色', dataIndex: 'totalLabel_fill', valueType: 'ColorPicker' },
    { title: '文字字号', dataIndex: 'totalLabel_fontSize', valueType: 'InputNumber' },
    { title: '文字字体', dataIndex: 'totalLabel_fontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
    { title: '文字加粗', dataIndex: 'totalLabel_fontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
    { title: '文字倾斜', dataIndex: 'totalLabel_fontStyle', valueType: 'Select', valueEnum: FontStyleMapping },
    { title: '下划线', dataIndex: 'totalLabel_underline', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '中划线', dataIndex: 'totalLabel_lineThrough', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '阴影颜色', dataIndex: 'totalLabel_shadowColor', valueType: 'ColorPicker' },
    { title: '阴影大小', dataIndex: 'totalLabel_shadowBlur', valueType: 'InputNumber' },
    { title: 'X轴偏移', dataIndex: 'totalLabel_shadowOffsetX', valueType: 'InputNumber' },
    { title: 'Y轴偏移', dataIndex: 'totalLabel_shadowOffsetY', valueType: 'InputNumber' },
    { title: '描边颜色', dataIndex: 'totalLabel_stroke', valueType: 'ColorPicker' },
    { title: '描边粗细', dataIndex: 'totalLabel_lineWidth', valueType: 'InputNumber' },
]
// Todo 一号版 图元设置 Point
const VChartTemplateA01Point = [
    { title: '是否启用', dataIndex: 'point_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '默认形状', dataIndex: 'point_symbolType', valueType: 'Select', valueEnum: VchartsPointCurveTypeMapping },
    { title: '默认大小', dataIndex: 'point_size', valueType: 'InputNumber' },
    { title: '默认线宽', dataIndex: 'point_lineWidth', valueType: 'InputNumber' },
    { title: '填充颜色', dataIndex: 'point_fill', valueType: 'ColorPicker' },
    { title: '填充透明度', dataIndex: 'point_fillOpacity', valueType: 'InputNumber' },
    { title: '阴影颜色', dataIndex: 'point_shadowColor', valueType: 'ColorPicker' },
    { title: '阴影大小', dataIndex: 'point_shadowBlur', valueType: 'InputNumber' },
    { title: 'X轴偏移', dataIndex: 'point_shadowOffsetX', valueType: 'InputNumber' },
    { title: 'Y轴偏移', dataIndex: 'point_shadowOffsetY', valueType: 'InputNumber' },
    { title: '选中形状', dataIndex: 'point_hover_symbolType', valueType: 'Select', valueEnum: VchartsPointCurveTypeMapping },
    { title: '选中大小', dataIndex: 'point_hover_size', valueType: 'InputNumber' },
]
// Todo 折线&面积图元 Line
const VChartTemplateA01Line = [
    { title: '是否启用', dataIndex: 'line_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '折线类型', dataIndex: 'line_curveType', valueType: 'Select', valueEnum: VchartsLineCurveTypeMapping },
    { title: '折线宽度', dataIndex: 'line_lineWidth', valueType: 'InputNumber' },
    { title: '透明度', dataIndex: 'line_opacity', valueType: 'InputNumber' },
    { title: '阴影颜色', dataIndex: 'line_shadowColor', valueType: 'ColorPicker' },
    { title: '阴影大小', dataIndex: 'line_shadowBlur', valueType: 'InputNumber' },
    { title: 'X轴偏移', dataIndex: 'line_shadowOffsetX', valueType: 'InputNumber' },
    { title: 'Y轴偏移', dataIndex: 'line_shadowOffsetY', valueType: 'InputNumber' },
]
// Todo 折线&面积标签 LineLabel
const VChartTemplateA01LineLabel = [
    { title: '是否启用', dataIndex: 'lineLabel_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '文字字号', dataIndex: 'lineLabel_fontSize', valueType: 'InputNumber' },
    { title: '文字字体', dataIndex: 'lineLabel_fontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
    { title: '文字加粗', dataIndex: 'lineLabel_fontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
    { title: '文字倾斜', dataIndex: 'lineLabel_fontStyle', valueType: 'Select', valueEnum: FontStyleMapping },
    { title: '下划线', dataIndex: 'lineLabel_underline', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '中划线', dataIndex: 'lineLabel_lineThrough', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '阴影颜色', dataIndex: 'lineLabel_shadowColor', valueType: 'ColorPicker' },
    { title: '阴影大小', dataIndex: 'lineLabel_shadowBlur', valueType: 'InputNumber' },
    { title: 'X轴偏移', dataIndex: 'lineLabel_shadowOffsetX', valueType: 'InputNumber' },
    { title: 'Y轴偏移', dataIndex: 'lineLabel_shadowOffsetY', valueType: 'InputNumber' },
    { title: '描边颜色', dataIndex: 'lineLabel_stroke', valueType: 'ColorPicker' },
    { title: '描边粗细', dataIndex: 'lineLabel_lineWidth', valueType: 'InputNumber' },
]
// Todo 柱图&条图图元
const VChartTemplateA01Bar = [
    { title: '是否启用', dataIndex: 'bar_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '图形圆角', dataIndex: 'bar_cornerRadius', valueType: 'InputNumber' },
    { title: '阴影颜色', dataIndex: 'bar_shadowColor', valueType: 'ColorPicker' },
    { title: '阴影大小', dataIndex: 'bar_shadowBlur', valueType: 'InputNumber' },
    { title: 'X轴偏移', dataIndex: 'bar_shadowOffsetX', valueType: 'InputNumber' },
    { title: 'Y轴偏移', dataIndex: 'bar_shadowOffsetY', valueType: 'InputNumber' },
]
// Todo 柱图&条图背景
const VChartTemplateA01BarBack = [
    { title: '是否启用', dataIndex: 'barBack_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '背景圆角', dataIndex: 'barBack_cornerRadius', valueType: 'InputNumber' },
    { title: '背景颜色', dataIndex: 'barBack_fill', valueType: 'ColorPicker' },
]

// Todo 标注线
const VChartTemplateA01MarkLine = [
    {
        title: '标注线',
        dataIndex: 'mark_line',
        valueType: 'Fields',
        min: 1,
        max: 99,
        children: [
            { title: '是否启用', dataIndex: 'visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '选择轴线', dataIndex: 'axes', valueType: 'Radio', valueEnum: VchartsMarkLineAexsMapping },
            { title: '标注数值', dataIndex: 'number', valueType: 'Input' },
            { title: '标注线 - 线段颜色', dataIndex: 'line_stroke', valueType: 'ColorPicker', upLevel: 'mark_line' },
            { title: '标注线 - 透明度', dataIndex: 'line_strokeOpacity', valueType: 'InputNumber' },
            { title: '标注线 - 线段实现', dataIndex: 'line_lineDashA', valueType: 'InputNumber' },
            { title: '标注线 - 线段虚线', dataIndex: 'line_lineDashB', valueType: 'InputNumber' },
            { title: '标注线 - 线段线宽', dataIndex: 'line_lineWidth', valueType: 'InputNumber' },
            { title: '标注线 - 阴影颜色', dataIndex: 'line_shadowColor', valueType: 'ColorPicker', upLevel: 'mark_line' },
            { title: '标注线 - 阴影大小', dataIndex: 'line_shadowBlur', valueType: 'InputNumber' },
            { title: '标注线 - X轴偏移', dataIndex: 'line_shadowOffsetX', valueType: 'InputNumber' },
            { title: '标注线 - Y轴偏移', dataIndex: 'line_shadowOffsetY', valueType: 'InputNumber' },
            { title: '标签 - 是否启用', dataIndex: 'label_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '标签 - 位置', dataIndex: 'label_position', valueType: 'Select', valueEnum: VchartsMarkLinePositionMapping1 },
            { title: '标签 - X轴偏移', dataIndex: 'label_refX', valueType: 'InputNumber' },
            { title: '标签 - Y轴偏移', dataIndex: 'label_refY', valueType: 'InputNumber' },
            { title: '标签 - 内容', dataIndex: 'label_text', valueType: 'Input' },
            { title: '标签 - 文字颜色', dataIndex: 'label_fill', valueType: 'ColorPicker', upLevel: 'mark_line' },
            { title: '标签 - 文字字号', dataIndex: 'label_fontSize', valueType: 'InputNumber' },
            { title: '标签 - 文字字体', dataIndex: 'label_fontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
            { title: '标签 - 文字加粗', dataIndex: 'label_fontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
            { title: '标签 - 文字倾斜', dataIndex: 'label_fontStyle', valueType: 'Select', valueEnum: FontStyleMapping },
            { title: '标签 - 下划线', dataIndex: 'label_underline', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '标签 - 中划线', dataIndex: 'label_lineThrough', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '标签 - 透明度', dataIndex: 'label_fillOpacity', valueType: 'InputNumber' },
            { title: '标签 - 阴影颜色', dataIndex: 'label_shadowColor', valueType: 'ColorPicker', upLevel: 'mark_line' },
            { title: '标签 - 阴影大小', dataIndex: 'label_shadowBlur', valueType: 'InputNumber' },
            { title: '标签 - X轴偏移', dataIndex: 'label_shadowOffsetX', valueType: 'InputNumber' },
            { title: '标签 - Y轴偏移', dataIndex: 'label_shadowOffsetY', valueType: 'InputNumber' },
            { title: '标签 - 描边颜色', dataIndex: 'label_stroke', valueType: 'ColorPicker', upLevel: 'mark_line' },
            { title: '标签 - 描边粗细', dataIndex: 'label_lineWidth', valueType: 'InputNumber' },
        ]
    }
]
// Todo 标注点
const VChartTemplateA01MarkPoint = [
    {
        title: '标注点',
        dataIndex: 'mark_point',
        valueType: 'Fields',
        min: 1,
        max: 99,
        children: [
            { title: '是否启用', dataIndex: 'visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '类型参数', dataIndex: 'coordinate_type', valueType: 'Input' },
            { title: '数值参数', dataIndex: 'coordinate_value', valueType: 'Input' },
            { title: '前置 - 是否启用', dataIndex: 'targetSymbol_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '前置 - 内容间隔', dataIndex: 'targetSymbol_offset', valueType: 'InputNumber' },
            { title: '前置 - 标记大小', dataIndex: 'targetSymbol_size', valueType: 'InputNumber' },
            { title: '前置 - 标记类型', dataIndex: 'targetSymbol_symbolType', valueType: 'Select', valueEnum: VchartsPointCurveTypeMapping },
            { title: '前置 - 填充颜色', dataIndex: 'targetSymbol_fill', valueType: 'ColorPicker', upLevel: 'mark_point' },
            { title: '前置 - 透明度', dataIndex: 'targetSymbol_fillOpacity', valueType: 'InputNumber' },
            { title: '前置 - 阴影颜色', dataIndex: 'targetSymbol_shadowColor', valueType: 'ColorPicker', upLevel: 'mark_point' },
            { title: '前置 - 阴影大小', dataIndex: 'targetSymbol_shadowBlur', valueType: 'InputNumber' },
            { title: '前置 - X轴偏移', dataIndex: 'targetSymbol_shadowOffsetX', valueType: 'InputNumber' },
            { title: '前置 - Y轴偏移', dataIndex: 'targetSymbol_shadowOffsetY', valueType: 'InputNumber' },
            { title: '前置 - 描边颜色', dataIndex: 'targetSymbol_stroke', valueType: 'ColorPicker', upLevel: 'mark_point' },
            { title: '前置 - 描边粗细', dataIndex: 'targetSymbol_lineWidth', valueType: 'InputNumber' },
            { title: '引导线 - 是否启用', dataIndex: 'itemLine_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '引导线 - 线段类型', dataIndex: 'itemLine_type', valueType: 'Select', valueEnum: VchartsMarkPointLineTypeMapping },
            { title: '引导线 - 线段曲率', dataIndex: 'itemLine_arcRatio', valueType: 'InputNumber' },
            { title: '引导线(起点) - 是否启用', dataIndex: 'itemLine_startSymbol_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '引导线(起点) - 标记类型', dataIndex: 'itemLine_startSymbol_symbolType', valueType: 'Select', valueEnum: VchartsPointCurveTypeMapping },
            { title: '引导线(起点) - 标记颜色', dataIndex: 'itemLine_startSymbol_fill', valueType: 'ColorPicker', upLevel: 'mark_point' },
            { title: '引导线(起点) - 标记大小', dataIndex: 'itemLine_startSymbol_size', valueType: 'InputNumber' },
            { title: '引导线(起点) - 阴影颜色', dataIndex: 'itemLine_startSymbol_shadowColor', valueType: 'ColorPicker', upLevel: 'mark_point' },
            { title: '引导线(起点) - 阴影大小', dataIndex: 'itemLine_startSymbol_shadowBlur', valueType: 'InputNumber' },
            { title: '引导线(起点) - X轴偏移', dataIndex: 'itemLine_startSymbol_shadowOffsetX', valueType: 'InputNumber' },
            { title: '引导线(起点) - Y轴偏移', dataIndex: 'itemLine_startSymbol_shadowOffsetY', valueType: 'InputNumber' },
            { title: '引导线(终点) - 是否启用', dataIndex: 'itemLine_endSymbol_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '引导线(终点) - 标记类型', dataIndex: 'itemLine_endSymbol_symbolType', valueType: 'Select', valueEnum: VchartsPointCurveTypeMapping },
            { title: '引导线(终点) - 标记颜色', dataIndex: 'itemLine_endSymbol_fill', valueType: 'ColorPicker', upLevel: 'mark_point' },
            { title: '引导线(终点) - 标记大小', dataIndex: 'itemLine_endSymbol_size', valueType: 'InputNumber' },
            { title: '引导线(终点) - 阴影颜色', dataIndex: 'itemLine_endSymbol_shadowColor', valueType: 'ColorPicker', upLevel: 'mark_point' },
            { title: '引导线(终点) - 阴影大小', dataIndex: 'itemLine_endSymbol_shadowBlur', valueType: 'InputNumber' },
            { title: '引导线(终点) - X轴偏移', dataIndex: 'itemLine_endSymbol_shadowOffsetX', valueType: 'InputNumber' },
            { title: '引导线(终点) - Y轴偏移', dataIndex: 'itemLine_endSymbol_shadowOffsetY', valueType: 'InputNumber' },
            { title: '引导线(线段) - 颜色', dataIndex: 'itemLine_line_stroke', valueType: 'ColorPicker', upLevel: 'mark_point' },
            { title: '引导线(终点) - 线宽', dataIndex: 'itemLine_line_lineWidth', valueType: 'InputNumber' },
            { title: '引导线(终点) - 实线', dataIndex: 'itemLine_line_lineDashA', valueType: 'InputNumber' },
            { title: '引导线(终点) - 虚线', dataIndex: 'itemLine_line_lineDashB', valueType: 'InputNumber' },
            { title: '引导线(线段) - 阴影颜色', dataIndex: 'itemLine_line_shadowColor', valueType: 'ColorPicker', upLevel: 'mark_point' },
            { title: '引导线(线段) - 阴影大小', dataIndex: 'itemLine_line_shadowBlur', valueType: 'InputNumber' },
            { title: '引导线(线段) - X轴偏移', dataIndex: 'itemLine_line_shadowOffsetX', valueType: 'InputNumber' },
            { title: '引导线(线段) - Y轴偏移', dataIndex: 'itemLine_line_shadowOffsetY', valueType: 'InputNumber' },
            { title: '标注 - 内容', dataIndex: 'itemContent_text', valueType: 'Input' },
            { title: '标注 - 位置', dataIndex: 'itemContent_position', valueType: 'Select', valueEnum: VchartsMarkPointLineContentPositionMapping },
            { title: '标注 - X轴偏移', dataIndex: 'itemContent_offsetX', valueType: 'InputNumber' },
            { title: '标注 - Y轴偏移', dataIndex: 'itemContent_offsetY', valueType: 'InputNumber' },
            { title: '标注 - 自动旋转', dataIndex: 'itemContent_autoRotate', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '标注 - 文字颜色', dataIndex: 'itemContent_fill', valueType: 'ColorPicker', upLevel: 'mark_point' },
            { title: '标注 - 文字字号', dataIndex: 'itemContent_fontSize', valueType: 'InputNumber' },
            { title: '标注 - 文字字体', dataIndex: 'itemContent_fontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
            { title: '标注 - 文字加粗', dataIndex: 'itemContent_fontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
            { title: '标注 - 文字倾斜', dataIndex: 'itemContent_fontStyle', valueType: 'Select', valueEnum: FontStyleMapping },
            { title: '标注 - 下划线', dataIndex: 'itemContent_underline', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '标注 - 中划线', dataIndex: 'itemContent_lineThrough', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '标注 - 透明度', dataIndex: 'itemContent_fillOpacity', valueType: 'InputNumber' },
            { title: '标注 - 阴影颜色', dataIndex: 'itemContent_shadowColor', valueType: 'ColorPicker', upLevel: 'mark_point' },
            { title: '标注 - 阴影大小', dataIndex: 'itemContent_shadowBlur', valueType: 'InputNumber' },
            { title: '标注 - X轴偏移', dataIndex: 'itemContent_shadowOffsetX', valueType: 'InputNumber' },
            { title: '标注 - Y轴偏移', dataIndex: 'itemContent_shadowOffsetY', valueType: 'InputNumber' },
            { title: '标注 - 描边颜色', dataIndex: 'itemContent_stroke', valueType: 'ColorPicker', upLevel: 'mark_point' },
            { title: '标注 - 描边粗细', dataIndex: 'itemContent_lineWidth', valueType: 'InputNumber' },
        ]
    }
]
// Todo 滚动条
const VChartTemplateA01ScrollBar = [
    {
        title: '标注点',
        dataIndex: 'scroll_Bar',
        valueType: 'Fields',
        min: 1,
        max: 99,
        children: [
            { title: '是否启用', dataIndex: 'visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '轴线位置', dataIndex: 'orient', valueType: 'Select', valueEnum: VchartsAxesOrientMapping },
            { title: '开始位置', dataIndex: 'start', valueType: 'InputNumber' },
            { title: '结束粗细', dataIndex: 'end', valueType: 'InputNumber' },
            { title: '拖拽 - 是否启用', dataIndex: 'roamDrag_reverse', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '拖拽 - 比例', dataIndex: 'roamDrag_rate', valueType: 'InputNumber' },
            { title: '缩放 - 是否启用', dataIndex: 'roamZoom_focus', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '缩放 - 比例', dataIndex: 'roamZoom_rate', valueType: 'InputNumber' },
            { title: '轨道 - 圆角', dataIndex: 'rail_cornerRadius', valueType: 'InputNumber' },
            { title: '轨道 - 颜色', dataIndex: 'rail_fill', valueType: 'ColorPicker', upLevel: 'scroll_Bar' },
            { title: '轨道 - 阴影颜色', dataIndex: 'rail_shadowColor', valueType: 'ColorPicker', upLevel: 'scroll_Bar' },
            { title: '轨道 - 阴影大小', dataIndex: 'rail_shadowBlur', valueType: 'InputNumber' },
            { title: '轨道 - X轴缩放', dataIndex: 'rail_shadowOffsetX', valueType: 'InputNumber' },
            { title: '轨道 - Y轴缩放', dataIndex: 'rail_shadowOffsetY', valueType: 'InputNumber' },
            { title: '滑块 - 圆角', dataIndex: 'slider_cornerRadius', valueType: 'InputNumber' },
            { title: '滑块 - 颜色', dataIndex: 'slider_fill', valueType: 'ColorPicker', upLevel: 'scroll_Bar' },
            { title: '滑块 - 阴影颜色', dataIndex: 'slider_shadowColor', valueType: 'ColorPicker', upLevel: 'scroll_Bar' },
            { title: '滑块 - 阴影大小', dataIndex: 'slider_shadowBlur', valueType: 'InputNumber' },
            { title: '滑块 - X轴缩放', dataIndex: 'slider_shadowOffsetX', valueType: 'InputNumber' },
            { title: '滑块 - Y轴缩放', dataIndex: 'slider_shadowOffsetY', valueType: 'InputNumber' },
        ]
    }
]

// 二号版配置
const VChartTemplateA02Common = [
    { title: '接口地址', dataIndex: 'api', valueType: 'Input' },
    { title: '默认参数', dataIndex: 'params', valueType: 'Input' },
    { title: '图例类型', dataIndex: 'type', valueType: 'Radio', valueEnum: VChartsA02TypeMapping },
    { title: '是否堆叠', dataIndex: 'stack', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '是否分组', dataIndex: 'group', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '角度轴字段', dataIndex: 'categoryField', valueType: 'Input' },
    { title: '映射轴字段', dataIndex: 'valueField', valueType: 'Input' },
    { title: '分组字段', dataIndex: 'seriesField', valueType: 'Input' },
    { title: '背景颜色', dataIndex: 'background', valueType: 'ColorPicker' },
    { title: '内间距', dataIndex: 'padding', valueType: 'InputNumber' },
    { title: '扇区外半径', dataIndex: 'outerRadius', valueType: 'InputNumber' },
    { title: '扇区内半径', dataIndex: 'innerRadius', valueType: 'InputNumber' },
    {
        title: '色板',
        dataIndex: 'colorPalette',
        valueType: 'Fields',
        min: 1,
        max: 99,
        children: [
            { title: '图例颜色', dataIndex: 'color', valueType: 'ColorPicker', upLevel: 'colorPalette' },
        ]
    }
]
const VChartTemplateA02Axes = [
    {
        title: '轴设置',
        dataIndex: 'axes_setUp',
        valueType: 'Fields',
        min: 1,
        max: 99,
        children: [
            { title: '是否启用', dataIndex: 'visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '轴线位置', dataIndex: 'orient', valueType: 'Select', valueEnum: VchartsAxesOrientMapping2 },
            { title: '装饰内距', dataIndex: 'trimPadding', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '是否交互', dataIndex: 'hover', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '轴线 - 是否启用', dataIndex: 'domainLine_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '刻度 - 颜色', dataIndex: 'domainLine_stroke', valueType: 'ColorPicker', upLevel: 'axes_setUp' },
            { title: '网格线 - 是否启用', dataIndex: 'grid_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '网格线 - 颜色', dataIndex: 'grid_stroke', valueType: 'ColorPicker', upLevel: 'axes_setUp' },
            { title: '网格线 - 实线', dataIndex: 'grid_lineDashA', valueType: 'InputNumber' },
            { title: '网格线 - 虚线', dataIndex: 'grid_lineDashB', valueType: 'InputNumber' },
            { title: '刻度 - 是否启用', dataIndex: 'tick_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '刻度 - 长度', dataIndex: 'tick_tickSize', valueType: 'InputNumber' },
            { title: '刻度 - 颜色', dataIndex: 'tick_stroke', valueType: 'ColorPicker', upLevel: 'axes_setUp' },
            { title: '标题 - 是否启用', dataIndex: 'title_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '标题 - 轴间距', dataIndex: 'title_space', valueType: 'InputNumber' },
            { title: '标题 - 文字内容', dataIndex: 'title_text', valueType: 'Input' },
            { title: '标题 - 文字颜色', dataIndex: 'title_fill', valueType: 'ColorPicker', upLevel: 'axes_setUp' },
            { title: '标题 - 文字字号', dataIndex: 'title_fontSize', valueType: 'InputNumber' },
            { title: '标题 - 文字字体', dataIndex: 'title_fontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
            { title: '标题 - 文字加粗', dataIndex: 'title_fontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
            { title: '标题 - 文字倾斜', dataIndex: 'title_fontStyle', valueType: 'Select', valueEnum: FontStyleMapping },
            { title: '标题 - 下划线', dataIndex: 'title_underline', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '标题 - 中划线', dataIndex: 'title_lineThrough', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '标题 - 阴影颜色', dataIndex: 'title_shadowColor', valueType: 'ColorPicker', upLevel: 'axes_setUp' },
            { title: '标题 - 阴影大小', dataIndex: 'title_shadowBlur', valueType: 'InputNumber' },
            { title: '标题 - X轴偏移', dataIndex: 'title_shadowOffsetX', valueType: 'InputNumber' },
            { title: '标题 - Y轴偏移', dataIndex: 'title_shadowOffsetY', valueType: 'InputNumber' },
            { title: '标题 - 描边颜色', dataIndex: 'title_stroke', valueType: 'ColorPicker', upLevel: 'axes_setUp' },
            { title: '标题 - 描边粗细', dataIndex: 'title_lineWidth', valueType: 'InputNumber' },
            { title: '标签 - 是否启用', dataIndex: 'label_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '标签 - 文字内容', dataIndex: 'label_text', valueType: 'Input' },
            { title: '标签 - 文字颜色', dataIndex: 'label_fill', valueType: 'ColorPicker', upLevel: 'axes_setUp' },
            { title: '标签 - 文字字号', dataIndex: 'label_fontSize', valueType: 'InputNumber' },
            { title: '标签 - 文字字体', dataIndex: 'label_fontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
            { title: '标签 - 文字加粗', dataIndex: 'label_fontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
            { title: '标签 - 文字倾斜', dataIndex: 'label_fontStyle', valueType: 'Select', valueEnum: FontStyleMapping },
            { title: '标签 - 下划线', dataIndex: 'label_underline', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '标签 - 中划线', dataIndex: 'label_lineThrough', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '标签 - 阴影颜色', dataIndex: 'label_shadowColor', valueType: 'ColorPicker', upLevel: 'axes_setUp' },
            { title: '标签 - 阴影大小', dataIndex: 'label_shadowBlur', valueType: 'InputNumber' },
            { title: '标签 - X轴偏移', dataIndex: 'label_shadowOffsetX', valueType: 'InputNumber' },
            { title: '标签 - Y轴偏移', dataIndex: 'label_shadowOffsetY', valueType: 'InputNumber' },
            { title: '标签 - 描边颜色', dataIndex: 'label_stroke', valueType: 'ColorPicker', upLevel: 'axes_setUp' },
            { title: '标签 - 描边粗细', dataIndex: 'label_lineWidth', valueType: 'InputNumber' },
            { title: '单位 - 是否启用', dataIndex: 'unit_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '单位 - 文字左移', dataIndex: 'unit_dx', valueType: 'InputNumber' },
            { title: '单位 - 文字上移', dataIndex: 'unit_dy', valueType: 'InputNumber' },
            { title: '单位 - 文字内容', dataIndex: 'unit_text', valueType: 'Input' },
            { title: '单位 - 文字颜色', dataIndex: 'unit_fill', valueType: 'ColorPicker', upLevel: 'axes_setUp' },
            { title: '单位 - 文字字号', dataIndex: 'unit_fontSize', valueType: 'InputNumber' },
            { title: '单位 - 文字字体', dataIndex: 'unit_fontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
            { title: '单位 - 文字加粗', dataIndex: 'unit_fontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
            { title: '单位 - 文字倾斜', dataIndex: 'unit_fontStyle', valueType: 'Select', valueEnum: FontStyleMapping },
            { title: '单位 - 下划线', dataIndex: 'unit_underline', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '单位 - 中划线', dataIndex: 'unit_lineThrough', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '单位 - 阴影颜色', dataIndex: 'unit_shadowColor', valueType: 'ColorPicker', upLevel: 'axes_setUp' },
            { title: '单位 - 阴影大小', dataIndex: 'unit_shadowBlur', valueType: 'InputNumber' },
            { title: '单位 - X轴偏移', dataIndex: 'unit_shadowOffsetX', valueType: 'InputNumber' },
            { title: '单位 - Y轴偏移', dataIndex: 'unit_shadowOffsetY', valueType: 'InputNumber' },
            { title: '单位 - 描边颜色', dataIndex: 'unit_stroke', valueType: 'ColorPicker', upLevel: 'axes_setUp' },
            { title: '单位 - 描边粗细', dataIndex: 'unit_lineWidth', valueType: 'InputNumber' },
        ]
    }
]
const VChartTemplateA02Label = [
    { title: '是否启用', dataIndex: 'label_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '标签位置', dataIndex: 'label_position', valueType: 'Select', valueEnum: VchartsPieLabelPositionMapping },
    { title: '标签内容', dataIndex: 'label_formatter', valueType: 'Input' },
    { title: '文字字号', dataIndex: 'label_fontSize', valueType: 'InputNumber' },
    { title: '文字字体', dataIndex: 'label_fontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
    { title: '文字加粗', dataIndex: 'label_fontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
    { title: '文字倾斜', dataIndex: 'label_fontStyle', valueType: 'Select', valueEnum: FontStyleMapping },
    { title: '下划线', dataIndex: 'label_underline', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '中划线', dataIndex: 'label_lineThrough', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '阴影颜色', dataIndex: 'label_shadowColor', valueType: 'ColorPicker' },
    { title: '阴影大小', dataIndex: 'label_shadowBlur', valueType: 'InputNumber' },
    { title: 'X轴偏移', dataIndex: 'label_shadowOffsetX', valueType: 'InputNumber' },
    { title: 'Y轴偏移', dataIndex: 'label_shadowOffsetY', valueType: 'InputNumber' },
    { title: '描边颜色', dataIndex: 'label_stroke', valueType: 'ColorPicker' },
    { title: '描边粗细', dataIndex: 'label_lineWidth', valueType: 'InputNumber' },
    { title: '引导线 - 是否启用', dataIndex: 'label_line_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '引导线 - 是否光滑', dataIndex: 'label_smooth', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '引导线 - 第一段长度', dataIndex: 'label_line1MinLength', valueType: 'InputNumber' },
    { title: '引导线 - 第二段长度', dataIndex: 'label_line2MinLength', valueType: 'InputNumber' },
    { title: '引导线 - 对齐方式', dataIndex: 'label_align', valueType: 'Select', valueEnum: VchartsPieLabelLayoutAlignMapping }
]
const VChartTemplateA02Pie = [
    { title: '默认 - 空白角度', dataIndex: 'pie_padAngle', valueType: 'InputNumber' },
    { title: '默认 - 色板角度', dataIndex: 'pie_cornerRadius', valueType: 'InputNumber' },
    { title: '默认 - 阴影颜色', dataIndex: 'pie_shadowColor', valueType: 'ColorPicker' },
    { title: '默认 - 阴影大小', dataIndex: 'pie_shadowBlur', valueType: 'InputNumber' },
    { title: '默认 - X轴偏移', dataIndex: 'pie_shadowOffsetX', valueType: 'InputNumber' },
    { title: '默认 - Y轴偏移', dataIndex: 'pie_shadowOffsetY', valueType: 'InputNumber' },
    { title: '默认 - 描边颜色', dataIndex: 'pie_stroke', valueType: 'ColorPicker' },
    { title: '默认 - 描边粗细', dataIndex: 'pie_lineWidth', valueType: 'InputNumber' },
    { title: '悬浮 - 扇区半径', dataIndex: 'pie_hover_outerRadius', valueType: 'InputNumber' },
    { title: '悬浮 - 阴影颜色', dataIndex: 'pie_hover_shadowColor', valueType: 'ColorPicker' },
    { title: '悬浮 - 阴影大小', dataIndex: 'pie_hover_shadowBlur', valueType: 'InputNumber' },
    { title: '悬浮 - X轴偏移', dataIndex: 'pie_hover_shadowOffsetX', valueType: 'InputNumber' },
    { title: '悬浮 - Y轴偏移', dataIndex: 'pie_hover_shadowOffsetY', valueType: 'InputNumber' },
    { title: '悬浮 - 描边颜色', dataIndex: 'pie_hover_stroke', valueType: 'ColorPicker' },
    { title: '悬浮 - 描边粗细', dataIndex: 'pie_hover_lineWidth', valueType: 'InputNumber' },
]
const VChartTemplateA02Indicator = [
    { title: '是否启用', dataIndex: 'indicator_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '显示状态', dataIndex: 'indicator_fixed', valueType: 'Select', valueEnum: VchartsIndicatorFixedMapping },
    { title: '触发类型', dataIndex: 'indicator_trigger', valueType: 'Select', valueEnum: VchartsIndicatorTriggerMapping },
    { title: '标题 - 是否启用', dataIndex: 'indicator_title_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '标题 - 本文间距', dataIndex: 'indicator_title_space', valueType: 'InputNumber' },
    { title: '标题 - 文本内容', dataIndex: 'indicator_title_text', valueType: 'Input' },
    { title: '标题 - 文字颜色', dataIndex: 'indicator_title_fill', valueType: 'ColorPicker' },
    { title: '标题 - 文字字号', dataIndex: 'indicator_title_fontSize', valueType: 'InputNumber' },
    { title: '标题 - 文字字体', dataIndex: 'indicator_title_fontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
    { title: '标题 - 文字加粗', dataIndex: 'indicator_title_fontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
    { title: '标题 - 文字倾斜', dataIndex: 'indicator_title_fontStyle', valueType: 'Select', valueEnum: FontStyleMapping },
    { title: '标题 - 下划线', dataIndex: 'indicator_title_underline', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '标题 - 中划线', dataIndex: 'indicator_title_lineThrough', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '标题 - 阴影颜色', dataIndex: 'indicator_title_shadowColor', valueType: 'ColorPicker' },
    { title: '标题 - 阴影大小', dataIndex: 'indicator_title_shadowBlur', valueType: 'InputNumber' },
    { title: '标题 - X轴偏移', dataIndex: 'indicator_title_shadowOffsetX', valueType: 'InputNumber' },
    { title: '标题 - Y轴偏移', dataIndex: 'indicator_title_shadowOffsetY', valueType: 'InputNumber' },
    { title: '标题 - 描边颜色', dataIndex: 'indicator_title_stroke', valueType: 'ColorPicker' },
    { title: '标题 - 描边粗细', dataIndex: 'indicator_title_lineWidth', valueType: 'InputNumber' },

    {
        title: '内容设置',
        dataIndex: 'indicator_content',
        valueType: 'Fields',
        min: 1,
        max: 99,
        children: [
            { title: '是否启用', dataIndex: 'visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '本文间距', dataIndex: 'space', valueType: 'InputNumber' },
            { title: '映射字段', dataIndex: 'text', valueType: 'Input' },
            { title: '额外单位', dataIndex: 'unit', valueType: 'Input' },
            { title: '文字颜色', dataIndex: 'fill', valueType: 'ColorPicker', upLevel: 'indicator_content' },
            { title: '文字字号', dataIndex: 'fontSize', valueType: 'InputNumber' },
            { title: '文字字体', dataIndex: 'fontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
            { title: '文字加粗', dataIndex: 'fontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
            { title: '文字倾斜', dataIndex: 'fontStyle', valueType: 'Select', valueEnum: FontStyleMapping },
            { title: '下划线', dataIndex: 'underline', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '中划线', dataIndex: 'lineThrough', valueType: 'Radio', valueEnum: IsEnabledMapping },
            { title: '阴影颜色', dataIndex: 'shadowColor', valueType: 'ColorPicker', upLevel: 'indicator_content' },
            { title: '阴影大小', dataIndex: 'shadowBlur', valueType: 'InputNumber' },
            { title: 'X轴偏移', dataIndex: 'shadowOffsetX', valueType: 'InputNumber' },
            { title: 'Y轴偏移', dataIndex: 'shadowOffsetY', valueType: 'InputNumber' },
            { title: '描边颜色', dataIndex: 'stroke', valueType: 'ColorPicker', upLevel: 'indicator_content' },
            { title: '描边粗细', dataIndex: 'lineWidth', valueType: 'InputNumber' },
        ]
    }
]
// 三号版配置
const VChartTemplateA03Common = [
    { title: '接口地址', dataIndex: 'api', valueType: 'Input' },
    { title: '默认参数', dataIndex: 'params', valueType: 'Input' },
    { title: '图例类型', dataIndex: 'gaugeType', valueType: 'Radio', valueEnum: VchartsGaugeTypeMapping },
    { title: '角度轴字段', dataIndex: 'categoryField', valueType: 'Input' },
    { title: '映射轴字段', dataIndex: 'valueField', valueType: 'Input' },
    { title: '分组字段', dataIndex: 'seriesField', valueType: 'Input' },
    { title: '背景颜色', dataIndex: 'background', valueType: 'ColorPicker' },
    { title: '内间距', dataIndex: 'padding', valueType: 'InputNumber' },
    { title: '扇区外半径', dataIndex: 'outerRadius', valueType: 'InputNumber' },
    { title: '扇区内半径', dataIndex: 'innerRadius', valueType: 'InputNumber' },
    { title: '扇区起始角', dataIndex: 'startAngle', valueType: 'InputNumber' },
    { title: '扇区结束角', dataIndex: 'endAngle', valueType: 'InputNumber' },
    { title: 'Y轴偏移', dataIndex: 'centerY', valueType: 'Input' },
]
const VChartTemplateA03Circular = [
    {
        title: '色板',
        dataIndex: 'circular_color',
        valueType: 'Fields',
        min: 1,
        max: 99,
        children: [
            { title: '颜色比例', dataIndex: 'offset', valueType: 'InputNumber' },
            { title: '图例颜色', dataIndex: 'color', valueType: 'ColorPicker', upLevel: 'circular_color' },
        ]
    },
    { title: '扇区圆角', dataIndex: 'circular_cornerRadius', valueType: 'InputNumber' },
    { title: '阴影颜色', dataIndex: 'circular_shadowColor', valueType: 'ColorPicker' },
    { title: '阴影大小', dataIndex: 'circular_shadowBlur', valueType: 'InputNumber' },
    { title: 'X轴偏移', dataIndex: 'circular_shadowOffsetX', valueType: 'InputNumber' },
    { title: 'Y轴偏移', dataIndex: 'circular_shadowOffsetY', valueType: 'InputNumber' },
    { title: '描边颜色', dataIndex: 'circular_stroke', valueType: 'ColorPicker' },
    { title: '描边粗细', dataIndex: 'circular_lineWidth', valueType: 'InputNumber' },
    { title: '扇区背景', dataIndex: 'circular_track', valueType: 'ColorPicker' },
]
const VChartTemplateA03Gauge = [
    {
        title: '色板',
        dataIndex: 'gauge_color',
        valueType: 'Fields',
        min: 1,
        max: 99,
        children: [
            { title: '图例标题', dataIndex: 'type', valueType: 'Input' },
            { title: '颜色数值', dataIndex: 'value', valueType: 'InputNumber' },
            { title: '图例颜色', dataIndex: 'color', valueType: 'ColorPicker', upLevel: 'gauge_color' },
        ]
    },
    { title: '色板 - 扇区圆角', dataIndex: 'gauge_segment_cornerRadius', valueType: 'InputNumber' },
    { title: '色板 - 阴影颜色', dataIndex: 'gauge_segment_shadowColor', valueType: 'ColorPicker' },
    { title: '色板 - 阴影大小', dataIndex: 'gauge_segment_shadowBlur', valueType: 'InputNumber' },
    { title: '色板 - X轴偏移', dataIndex: 'gauge_segment_shadowOffsetX', valueType: 'InputNumber' },
    { title: '色板 - Y轴偏移', dataIndex: 'gauge_segment_shadowOffsetY', valueType: 'InputNumber' },
    { title: '标签 - 是否启用', dataIndex: 'gauge_label_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '标签 - 位置信息', dataIndex: 'gauge_label_position', valueType: 'Select', valueEnum: VchartsPieLabelPositionMapping },
    { title: '标签 - 色板间距', dataIndex: 'gauge_label_offsetRadius', valueType: 'InputNumber' },
    { title: '标签 - 文字颜色', dataIndex: 'gauge_label_fill', valueType: 'ColorPicker' },
    { title: '标签 - 文字字号', dataIndex: 'gauge_label_fontSize', valueType: 'InputNumber' },
    { title: '标签 - 文字字体', dataIndex: 'gauge_label_fontFamily', valueType: 'Select', valueEnum: FontFamilyMapping },
    { title: '标签 - 文字加粗', dataIndex: 'gauge_label_fontWeight', valueType: 'Select', valueEnum: FontWeightMapping },
    { title: '标签 - 文字倾斜', dataIndex: 'gauge_label_fontStyle', valueType: 'Select', valueEnum: FontStyleMapping },
    { title: '标签 - 下划线', dataIndex: 'gauge_label_underline', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '标签 - 中划线', dataIndex: 'gauge_label_lineThrough', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '标签 - 阴影颜色', dataIndex: 'gauge_label_shadowColor', valueType: 'ColorPicker' },
    { title: '标签 - 阴影大小', dataIndex: 'gauge_label_shadowBlur', valueType: 'InputNumber' },
    { title: '标签 - X轴偏移', dataIndex: 'gauge_label_shadowOffsetX', valueType: 'InputNumber' },
    { title: '标签 - Y轴偏移', dataIndex: 'gauge_label_shadowOffsetY', valueType: 'InputNumber' },
    { title: '标签 - 描边颜色', dataIndex: 'gauge_label_stroke', valueType: 'ColorPicker' },
    { title: '标签 - 描边粗细', dataIndex: 'gauge_label_lineWidth', valueType: 'InputNumber' },
]
const VChartTemplateA03Pin = [
    { title: '是否启用', dataIndex: 'pin_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '宽度', dataIndex: 'pin_width', valueType: 'InputNumber' },
    { title: '高度', dataIndex: 'pin_height', valueType: 'InputNumber' },
    { title: '颜色', dataIndex: 'pin_fill', valueType: 'ColorPicker' },
    { title: '阴影颜色', dataIndex: 'pin_shadowColor', valueType: 'ColorPicker' },
    { title: '阴影大小', dataIndex: 'pin_shadowBlur', valueType: 'InputNumber' },
    { title: 'X轴偏移', dataIndex: 'pin_shadowOffsetX', valueType: 'InputNumber' },
    { title: 'Y轴偏移', dataIndex: 'pin_shadowOffsetY', valueType: 'InputNumber' },
]
const VChartTemplateA03Pointer = [
    { title: '是否启用', dataIndex: 'pointer_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '宽度', dataIndex: 'pointer_width', valueType: 'InputNumber' },
    { title: '高度', dataIndex: 'pointer_height', valueType: 'InputNumber' },
    { title: '颜色', dataIndex: 'pointer_fill', valueType: 'ColorPicker' },
    { title: '阴影颜色', dataIndex: 'pointer_shadowColor', valueType: 'ColorPicker' },
    { title: '阴影大小', dataIndex: 'pointer_shadowBlur', valueType: 'InputNumber' },
    { title: 'X轴偏移', dataIndex: 'pointer_shadowOffsetX', valueType: 'InputNumber' },
    { title: 'Y轴偏移', dataIndex: 'pointer_shadowOffsetY', valueType: 'InputNumber' },
]

const VChartTemplateA03PinBackground = [
    { title: '是否启用', dataIndex: 'pinBackground_visible', valueType: 'Radio', valueEnum: IsEnabledMapping },
    { title: '宽度', dataIndex: 'pinBackground_width', valueType: 'InputNumber' },
    { title: '高度', dataIndex: 'pinBackground_height', valueType: 'InputNumber' },
    { title: '颜色', dataIndex: 'pinBackground_fill', valueType: 'ColorPicker' },
    { title: '阴影颜色', dataIndex: 'pinBackground_shadowColor', valueType: 'ColorPicker' },
    { title: '阴影大小', dataIndex: 'pinBackground_shadowBlur', valueType: 'InputNumber' },
    { title: 'X轴偏移', dataIndex: 'pinBackground_shadowOffsetX', valueType: 'InputNumber' },
    { title: 'Y轴偏移', dataIndex: 'pinBackground_shadowOffsetY', valueType: 'InputNumber' },
]

const VChartTemplateA03Indicator = [
    { title: 'Y轴偏移', dataIndex: 'indicator_offsetY', valueType: 'Input' },
    ...VChartTemplateA02Indicator
]

// 4
const VChartTemplateA04Common = [
    { title: '接口地址', dataIndex: 'api', valueType: 'Input' },
    { title: '默认参数', dataIndex: 'params', valueType: 'Input' },
    { title: '图例类型', dataIndex: 'type', valueType: 'Radio', valueEnum: VchartsProgressTypeMapping },
    { title: '角度轴字段', dataIndex: 'xField', valueType: 'Input' },
    { title: '映射轴字段', dataIndex: 'yField', valueType: 'Input' },
    { title: '分组字段', dataIndex: 'seriesField', valueType: 'Input' },
    { title: '布局方式', dataIndex: 'direction', valueType: 'Radio', valueEnum: VChartsA01DirectionMapping },
    { title: '背景颜色', dataIndex: 'background', valueType: 'ColorPicker' },
    { title: '内间距', dataIndex: 'padding', valueType: 'InputNumber' },
    { title: '图元圆角', dataIndex: 'cornerRadius', valueType: 'InputNumber' },
    { title: '环形外半径', dataIndex: 'radius', valueType: 'InputNumber' },
    { title: '环形内半径', dataIndex: 'innerRadius', valueType: 'InputNumber' },
    {
        title: '色板',
        dataIndex: 'colorPalette',
        valueType: 'Fields',
        min: 1,
        max: 99,
        children: [
            { title: '图例颜色', dataIndex: 'color', valueType: 'ColorPicker', upLevel: 'colorPalette' },
        ]
    }
]

const VChartTemplateA04Progress = [
    { title: '条形底色', dataIndex: 'track_fill', valueType: 'ColorPicker' },
    { title: '圆形内间距', dataIndex: 'progress_innerPadding', valueType: 'InputNumber' },
    { title: '圆形外间距', dataIndex: 'progress_outerPadding', valueType: 'InputNumber' },
    { title: '阴影颜色', dataIndex: 'progress_shadowColor', valueType: 'ColorPicker' },
    { title: '阴影大小', dataIndex: 'progress_shadowBlur', valueType: 'InputNumber' },
    { title: 'X轴偏移', dataIndex: 'progress_shadowOffsetX', valueType: 'InputNumber' },
    { title: 'Y轴偏移', dataIndex: 'progress_shadowOffsetY', valueType: 'InputNumber' },
    { title: '描边颜色', dataIndex: 'progress_stroke', valueType: 'ColorPicker' },
    { title: '描边粗细', dataIndex: 'progress_lineWidth', valueType: 'InputNumber' },
]
// 5
const VChartTemplateA05Common = [
    { title: '接口地址', dataIndex: 'api', valueType: 'Input' },
    { title: '默认参数', dataIndex: 'params', valueType: 'Input' },
    { title: '波纹形状', dataIndex: 'maskShape', valueType: 'Select', valueEnum: VchartsLiquidMaskShapeMapping },
    { title: '内间距', dataIndex: 'padding', valueType: 'InputNumber' },
    { title: '图元间距', dataIndex: 'outlinePadding', valueType: 'InputNumber' },
    { title: '背景颜色', dataIndex: 'background', valueType: 'ColorPicker' },
    { title: '边框颜色', dataIndex: 'color', valueType: 'ColorPicker' },
    { title: '图元背景', dataIndex: 'liquidBackground', valueType: 'ColorPicker' },
    {
        title: '图元色板',
        dataIndex: 'liquid',
        valueType: 'Fields',
        min: 1,
        max: 99,
        children: [
            { title: '色板比例', dataIndex: 'offset', valueType: 'InputNumber' },
            { title: '图例颜色', dataIndex: 'color', valueType: 'ColorPicker', upLevel: 'liquid' },
        ]
    }
]
// 6
const VChartTemplateA06Common = [
    { title: '接口地址', dataIndex: 'api', valueType: 'Input' },
    { title: '默认参数', dataIndex: 'params', valueType: 'Input' },
    { title: '图例类型', dataIndex: 'type', valueType: 'Radio', valueEnum: VChartsA03TypeMapping },
    { title: '背景颜色', dataIndex: 'background', valueType: 'ColorPicker' },
    { title: '内间距', dataIndex: 'padding', valueType: 'InputNumber' },
    { title: 'X轴字段', dataIndex: 'xField', valueType: 'Input' },
    { title: 'Y轴字段', dataIndex: 'yField', valueType: 'Input' },
    {
        title: '色板',
        dataIndex: 'colorPalette',
        valueType: 'Fields',
        min: 1,
        max: 99,
        children: [
            { title: '图例颜色', dataIndex: 'color', valueType: 'ColorPicker', upLevel: 'colorPalette' },
        ]
    },
]

export const ConfigMapping = {
    TextTemplateA01,
    ChartTemplateA01,
    ChartTemplateA02: ChartTemplateA01,
    ChartTemplateA03,
    ChartTemplateA04,
    ChartTemplateA05,
    ChartTemplateA06,
    ChartTemplateA07,
    ChartTemplateA08,
    ChartTemplateA09,
    // 1
    VChartTemplateA01Common,
    VChartTemplateA01Title,
    VChartTemplateA01Axes,
    VChartTemplateA01Legends,
    VChartTemplateA01Label,
    VChartTemplateA01Tooltip,
    VChartTemplateA01Crosshair,
    VChartTemplateA01TotalLabel,
    VChartTemplateA01Point,
    VChartTemplateA01Line,
    VChartTemplateA01LineLabel,
    VChartTemplateA01Bar,
    VChartTemplateA01BarBack,
    VChartTemplateA01MarkLine,
    VChartTemplateA01MarkPoint,
    VChartTemplateA01ScrollBar,
    // 2
    VChartTemplateA02Title: VChartTemplateA01Title,
    VChartTemplateA02Legends: VChartTemplateA01Legends,
    VChartTemplateA02Tooltip: VChartTemplateA01Tooltip,
    VChartTemplateA02Crosshair: VChartTemplateA01Crosshair,
    VChartTemplateA02Line: VChartTemplateA01Line,
    VChartTemplateA02Point: VChartTemplateA01Point,
    VChartTemplateA02Common,
    VChartTemplateA02Axes,
    VChartTemplateA02Label,
    VChartTemplateA02Pie,
    VChartTemplateA02Indicator,
    // 3
    VChartTemplateA03Title: VChartTemplateA01Title,
    VChartTemplateA03Indicator,
    VChartTemplateA03Common,
    VChartTemplateA03Circular,
    VChartTemplateA03Gauge,
    VChartTemplateA03Pin,
    VChartTemplateA03Pointer,
    VChartTemplateA03PinBackground,
    // 4
    VChartTemplateA04Title: VChartTemplateA01Title,
    VChartTemplateA04Legends: VChartTemplateA01Legends,
    VChartTemplateA04Tooltip: VChartTemplateA01Tooltip,
    VChartTemplateA04Indicator: VChartTemplateA02Indicator,
    VChartTemplateA04Axes: VChartTemplateA01Axes,
    VChartTemplateA04Common,
    VChartTemplateA04Progress,
    // 5
    VChartTemplateA05Common,
    VChartTemplateA05Indicator: VChartTemplateA02Indicator,
    VChartTemplateA05Title: VChartTemplateA01Title,
    // 6
    VChartTemplateA06Common,
    VChartTemplateA06Axes: VChartTemplateA01Axes,
    VChartTemplateA06Title: VChartTemplateA01Title,
    VChartTemplateA06Legends: VChartTemplateA01Legends,
    VChartTemplateA06Label: VChartTemplateA01Label,
    VChartTemplateA06Tooltip: VChartTemplateA01Tooltip,
    VChartTemplateA06Line: VChartTemplateA01Line,
    VChartTemplateA06Point: VChartTemplateA01Point,
    VChartTemplateA06LineLabel: VChartTemplateA01LineLabel,

}
